| author | pschonbac | 2009-03-03 15:39:44 (EST) |
|---|---|---|
| committer | sefftinge | 2009-03-03 15:39:44 (EST) |
| commit | 4b5142cddf19a2dc965a09932b3b5eabe2897a52 (patch) (side-by-side diff) | |
| tree | 4573c86ade9da1722bf96de93f5d9af65430b66c | |
| parent | 4131c14e004d9c08277426225290ee7ae57874a6 (diff) | |
| download | org.eclipse.xtext-4b5142cddf19a2dc965a09932b3b5eabe2897a52.zip org.eclipse.xtext-4b5142cddf19a2dc965a09932b3b5eabe2897a52.tar.gz org.eclipse.xtext-4b5142cddf19a2dc965a09932b3b5eabe2897a52.tar.bz2 | |
bug 254137: Capabilities
https://bugs.eclipse.org/bugs/show_bug.cgi?id=254137
| -rw-r--r-- | plugins/org.eclipse.xtext.ui.core/plugin.properties | 8 | ||||
| -rw-r--r-- | plugins/org.eclipse.xtext.ui.core/plugin.xml | 33 |
2 files changed, 39 insertions, 2 deletions
diff --git a/plugins/org.eclipse.xtext.ui.core/plugin.properties b/plugins/org.eclipse.xtext.ui.core/plugin.properties index 88a7b93..054cfb6 100644 --- a/plugins/org.eclipse.xtext.ui.core/plugin.properties +++ b/plugins/org.eclipse.xtext.ui.core/plugin.properties @@ -8,4 +8,10 @@ ############################################################################### pluginName = Xtext UI Core (Incubation) -providerName = Eclipse.org
\ No newline at end of file +providerName = Eclipse.org + +activity.category=TMF Xtext +activity.category.description=TMF Xtext allows the creation of models and DSLs using a textual grammar definition language. + +activity.ui=TMF Xtext UI +activity.ui.description=Enables the UI contributions of Xtext
\ No newline at end of file diff --git a/plugins/org.eclipse.xtext.ui.core/plugin.xml b/plugins/org.eclipse.xtext.ui.core/plugin.xml index 67123dc..d2cf501 100644 --- a/plugins/org.eclipse.xtext.ui.core/plugin.xml +++ b/plugins/org.eclipse.xtext.ui.core/plugin.xml @@ -70,5 +70,36 @@ <context type="org.eclipse.xtext.ui.editor.model.IEditorModel"/> </target> </extension--> - + +<!-- ================================================================================ --> +<!-- Capability definition --> +<!-- ================================================================================ --> + <extension + point="org.eclipse.ui.activities"> + + <!-- Category --> + <category + description="%activity.category.description" + id="org.eclipse.xtext.ui.category" + name="%activity.category"> + </category> + + <!-- UI elements, defined using general pattern --> + <activity + description="%activity.ui.description" + id="org.eclipse.xtext.ui" + name="%activity.ui"> + </activity> + <activityPatternBinding + activityId="org.eclipse.xtext.ui" + pattern="org\.eclipse\.xtext\.ui\..*/.*"> + </activityPatternBinding> + <categoryActivityBinding + activityId="org.eclipse.xtext.ui" + categoryId="org.eclipse.xtext.ui.category"> + </categoryActivityBinding> + <defaultEnablement + id="org.eclipse.xtext.ui"> + </defaultEnablement> + </extension> </plugin> |

