aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormclay2009-02-11 15:15:42 (EST)
committersefftinge2009-02-11 15:15:42 (EST)
commit0220bb7e758c7c89cbd71a889e34a34de938a011 (patch)
treed1d0a138d9e217f99a5b4e2f006dded1efa2affc
parent3f97ed897e7ab30c87224bbe35ff05f0bc741736 (diff)
downloadorg.eclipse.xtext-0220bb7e758c7c89cbd71a889e34a34de938a011.zip
org.eclipse.xtext-0220bb7e758c7c89cbd71a889e34a34de938a011.tar.gz
org.eclipse.xtext-0220bb7e758c7c89cbd71a889e34a34de938a011.tar.bz2
undo deleted extension config
-rw-r--r--examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml81
1 files changed, 81 insertions, 0 deletions
diff --git a/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml b/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml
index fa04571..c6c8fda 100644
--- a/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml
+++ b/examples/org.eclipse.xtext.example.ecoredsl.ui/plugin.xml
@@ -54,6 +54,87 @@
type="ecoredsl">
</parser>
</extension>
+
+ <extension point="org.eclipse.ui.editors.templates">
+ <contextType name="EPackageDecl"
+ class="org.eclipse.xtext.ui.common.editor.contentassist.impl.XtextTemplateContextType"
+ id="org.eclipse.xtext.ecore.dsl.ui.templates.contextType.EPackageDecl">
+ </contextType>
+ <contextType name="EClassDecl"
+ class="org.eclipse.xtext.ui.common.editor.contentassist.impl.XtextTemplateContextType"
+ id="org.eclipse.xtext.ecore.dsl.ui.templates.contextType.EClassDecl">
+ </contextType>
+ <contextType name="EDataTypeDecl"
+ class="org.eclipse.xtext.ui.common.editor.contentassist.impl.XtextTemplateContextType"
+ id="org.eclipse.xtext.ecore.dsl.ui.templates.contextType.EDataTypeDecl">
+ </contextType>
+ <contextType name="EEnumDecl"
+ class="org.eclipse.xtext.ui.common.editor.contentassist.impl.XtextTemplateContextType"
+ id="org.eclipse.xtext.ecore.dsl.ui.templates.contextType.EEnumDecl">
+ </contextType>
+ <contextType name="EAttributeDecl"
+ class="org.eclipse.xtext.ui.common.editor.contentassist.impl.XtextTemplateContextType"
+ id="org.eclipse.xtext.ecore.dsl.ui.templates.contextType.EAttributeDecl">
+ </contextType>
+ <include file="templates/templates.xml" />
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ id="org.eclipse.xtext.ecore.dsl.GenerateEcore"
+ name="Generate Ecore Model"
+ description="Generate Ecore Model">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ id="org.eclipse.xtext.ecore.dsl.GenerateEcoreDsl"
+ name="Generate Ecore Dsl"
+ description="Generate Ecore Dsl">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.xtext.example.handler.GenerateEcoreDslHandler"
+ commandId="org.eclipse.xtext.ecore.dsl.GenerateEcoreDsl">
+ </handler>
+ <handler
+ class="org.eclipse.xtext.example.handler.GenerateEcoreHandler"
+ commandId="org.eclipse.xtext.ecore.dsl.GenerateEcore">
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:org.eclipse.ui.popup.any?after=additions">
+ <command commandId="org.eclipse.xtext.ecore.dsl.GenerateEcore">
+ <visibleWhen
+ checkEnabled="false">
+ <iterate>
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ <test property="org.eclipse.core.resources.name"
+ value="*.ecoredsl">
+ </test>
+ </adapt></iterate>
+ </visibleWhen>
+ </command>
+ <command commandId="org.eclipse.xtext.ecore.dsl.GenerateEcoreDsl">
+ <visibleWhen
+ checkEnabled="false">
+ <iterate>
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ <test property="org.eclipse.core.resources.name"
+ value="*.ecore">
+ </test>
+ </adapt></iterate>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
</plugin>