summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpschonbac2009-03-03 15:39:42 (EST)
committerpschonbac2009-03-03 15:39:42 (EST)
commit1546445f0a2717bb93ff7a1405fce1b15087696b (patch)
tree9bf0d466599da6683fc0a1568fb83428caa01300
parent858f7f4173d53b29d493e9e391eb99eb15fb6deb (diff)
downloadorg.eclipse.xpand-1546445f0a2717bb93ff7a1405fce1b15087696b.zip
org.eclipse.xpand-1546445f0a2717bb93ff7a1405fce1b15087696b.tar.gz
org.eclipse.xpand-1546445f0a2717bb93ff7a1405fce1b15087696b.tar.bz2
bug 254137: Capabilities
https://bugs.eclipse.org/bugs/show_bug.cgi?id=254137
-rw-r--r--plugins/org.eclipse.xpand.ui/plugin.properties6
-rw-r--r--plugins/org.eclipse.xpand.ui/plugin.xml33
2 files changed, 38 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xpand.ui/plugin.properties b/plugins/org.eclipse.xpand.ui/plugin.properties
index 27dd5e8..388e0b3 100644
--- a/plugins/org.eclipse.xpand.ui/plugin.properties
+++ b/plugins/org.eclipse.xpand.ui/plugin.properties
@@ -10,3 +10,9 @@
###############################################################################
pluginName=Xpand editor (Incubation)
providerName=Eclipse.org
+
+activity.category=M2T Xpand
+activity.category.description=Generator that allows to transform models into text
+
+activity.ui=M2T Xpand UI
+activity.ui.description=Enables the UI contributions of M2T Xpand \ No newline at end of file
diff --git a/plugins/org.eclipse.xpand.ui/plugin.xml b/plugins/org.eclipse.xpand.ui/plugin.xml
index 53aeda1..296410a 100644
--- a/plugins/org.eclipse.xpand.ui/plugin.xml
+++ b/plugins/org.eclipse.xpand.ui/plugin.xml
@@ -190,5 +190,36 @@
runtimeClass="org.eclipse.internal.xpand2.debug.XpandElementAdapter">
</adapter>
</extension>
-
+
+<!-- ================================================================================ -->
+<!-- Capability definition -->
+<!-- ================================================================================ -->
+ <extension
+ point="org.eclipse.ui.activities">
+
+ <!-- Category -->
+ <category
+ description="%activity.category.description"
+ id="org.eclipse.xpand.ui.category"
+ name="%activity.category">
+ </category>
+
+ <!-- UI elements, defined using general pattern -->
+ <activity
+ description="%activity.ui.description"
+ id="org.eclipse.xpand.ui"
+ name="%activity.ui">
+ </activity>
+ <activityPatternBinding
+ activityId="org.eclipse.xpand.ui"
+ pattern="org\.eclipse\.xpand\.ui\..*/.*">
+ </activityPatternBinding>
+ <categoryActivityBinding
+ activityId="org.eclipse.xpand.ui"
+ categoryId="org.eclipse.xpand.ui.category">
+ </categoryActivityBinding>
+ <defaultEnablement
+ id="org.eclipse.xpand.ui">
+ </defaultEnablement>
+ </extension>
</plugin>