Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2010-11-02 16:43:58 -0400
committerpelder2010-11-02 16:43:58 -0400
commit4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc (patch)
tree7b53d650e546f121613c0e080ea89f3789f177b2 /transforms/org.eclipse.jet.transforms.tagfactory/templates/main.jet
parent15ccba1e74a55349bdce44c7e99858795f7925b1 (diff)
downloadorg.eclipse.jet-201011021646.tar.gz
org.eclipse.jet-201011021646.tar.xz
org.eclipse.jet-201011021646.zip
This commit was manufactured by cvs2svn to create tag 'v201011021646'.v201011021646
Diffstat (limited to 'transforms/org.eclipse.jet.transforms.tagfactory/templates/main.jet')
-rw-r--r--transforms/org.eclipse.jet.transforms.tagfactory/templates/main.jet45
1 files changed, 0 insertions, 45 deletions
diff --git a/transforms/org.eclipse.jet.transforms.tagfactory/templates/main.jet b/transforms/org.eclipse.jet.transforms.tagfactory/templates/main.jet
deleted file mode 100644
index 70a2c8c..0000000
--- a/transforms/org.eclipse.jet.transforms.tagfactory/templates/main.jet
+++ /dev/null
@@ -1,45 +0,0 @@
-<%@taglib prefix="ws" id="org.eclipse.jet.workspaceTags" %>
-<%-- Main entry point for org.eclipse.jet.transforms.tagfactory --%>
-
-<c:setVariable var="plugin" select="/plugin"/>
-<%--
-TODO: traverse input model, performing calculations and storing
-the results as model annotations via c:set tag
---%>
-<c:iterate select="$plugin/extension[@point='org.eclipse.jet.tagLibraries']" var="extension">
- <c:iterate select="$extension/tagLibrary[@tagFactory]" var="tagLibrary">
- <c:setVariable var="ordinal" select="1"/>
- <c:set select="$tagLibrary" name="numTags"><c:get select="count($tagLibrary/*['Tag' = substring(local-name(), string-length(local-name()) - 2, 3)])"/></c:set>
- <c:set select="$tagLibrary" name="pkgFactory"><c:get select="packageName($tagLibrary/@tagFactory)"/></c:set>
- <c:set select="$tagLibrary" name="clsFactory"><c:get select="className($tagLibrary/@tagFactory)"/></c:set>
- <c:iterate select="$tagLibrary/*['Tag' = substring(local-name(), string-length(local-name()) - 2, 3)]" var="tag">
- <c:set select="$tag" name="ordinal"><c:get select="$ordinal"/></c:set>
- <c:setVariable var="ordinal" select="$ordinal + 1"/>
- </c:iterate>
- </c:iterate>
-</c:iterate>
-
-
-<%--
-TODO: traverse annotated model, performing text generation actions
-such as ws:file, ws:folder and ws:project
---%>
-<c:iterate select="$plugin/extension[@point='org.eclipse.jet.tagLibraries']" var="extension">
- <c:iterate select="$extension/tagLibrary[@tagFactory]" var="tagLibrary">
- <java:class srcFolder="{$org.eclipse.jet.resource.project.name}/src"
- package="{$tagLibrary/@pkgFactory}"
- name="{$tagLibrary/@clsFactory}"
- template="templates/tagLibrary/tagFactory.java.jet"/>
- </c:iterate>
-</c:iterate>
-
-
-<%-- For debug purposes, dump the annotated input model in
- the root of the project containing the original input model.
-
- Note that model formatting may not be identical, and that in
- the case of non-XML input models, the dump may look quite different.
-
-<ws:file template="templates/dump.jet" path="{$org.eclipse.jet.resource.project.name}/dump.xml"/>
---%>
-

Back to the top