summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpschonbac2009-03-03 19:57:58 (EST)
committerpschonbac2009-03-03 19:57:58 (EST)
commit6231aa6d77d24c0826588ca930dbaabbfefca6c3 (patch)
tree6dcb304fdf8f2297814130c0e18ccad80a05c45b
parent1546445f0a2717bb93ff7a1405fce1b15087696b (diff)
downloadorg.eclipse.xpand-6231aa6d77d24c0826588ca930dbaabbfefca6c3.zip
org.eclipse.xpand-6231aa6d77d24c0826588ca930dbaabbfefca6c3.tar.gz
org.eclipse.xpand-6231aa6d77d24c0826588ca930dbaabbfefca6c3.tar.bz2
bug 254137: Capabilities
https://bugs.eclipse.org/bugs/show_bug.cgi?id=254137
-rw-r--r--features/org.eclipse.xpand.ui-feature/feature.xml7
-rw-r--r--features/org.eclipse.xtend.ui-feature/feature.xml7
-rw-r--r--plugins/org.eclipse.xpand.activities/.classpath7
-rw-r--r--plugins/org.eclipse.xpand.activities/.project34
-rw-r--r--plugins/org.eclipse.xpand.activities/META-INF/MANIFEST.MF11
-rw-r--r--plugins/org.eclipse.xpand.activities/build.properties4
-rw-r--r--plugins/org.eclipse.xpand.activities/plugin.properties21
-rw-r--r--plugins/org.eclipse.xpand.activities/plugin.xml44
-rw-r--r--plugins/org.eclipse.xpand.ui/plugin.properties6
-rw-r--r--plugins/org.eclipse.xpand.ui/plugin.xml193
10 files changed, 135 insertions, 199 deletions
diff --git a/features/org.eclipse.xpand.ui-feature/feature.xml b/features/org.eclipse.xpand.ui-feature/feature.xml
index 815c617..25cfadc 100644
--- a/features/org.eclipse.xpand.ui-feature/feature.xml
+++ b/features/org.eclipse.xpand.ui-feature/feature.xml
@@ -48,4 +48,11 @@
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.eclipse.xpand.activities"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
diff --git a/features/org.eclipse.xtend.ui-feature/feature.xml b/features/org.eclipse.xtend.ui-feature/feature.xml
index 031a9d1..3bf98a9 100644
--- a/features/org.eclipse.xtend.ui-feature/feature.xml
+++ b/features/org.eclipse.xtend.ui-feature/feature.xml
@@ -79,4 +79,11 @@
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.eclipse.xpand.activities"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
diff --git a/plugins/org.eclipse.xpand.activities/.classpath b/plugins/org.eclipse.xpand.activities/.classpath
new file mode 100644
index 0000000..64c5e31
--- /dev/null
+++ b/plugins/org.eclipse.xpand.activities/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.xpand.activities/.project b/plugins/org.eclipse.xpand.activities/.project
new file mode 100644
index 0000000..3c79ac8
--- /dev/null
+++ b/plugins/org.eclipse.xpand.activities/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.xpand.activities</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.xpand.activities/META-INF/MANIFEST.MF b/plugins/org.eclipse.xpand.activities/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..c9e7736
--- /dev/null
+++ b/plugins/org.eclipse.xpand.activities/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.xpand.activities;singleton:=true
+Bundle-Version: 0.7.0.qualifier
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
+Bundle-Localization: plugin
diff --git a/plugins/org.eclipse.xpand.activities/build.properties b/plugins/org.eclipse.xpand.activities/build.properties
new file mode 100644
index 0000000..34d2e4d
--- /dev/null
+++ b/plugins/org.eclipse.xpand.activities/build.properties
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
diff --git a/plugins/org.eclipse.xpand.activities/plugin.properties b/plugins/org.eclipse.xpand.activities/plugin.properties
new file mode 100644
index 0000000..07f43ad
--- /dev/null
+++ b/plugins/org.eclipse.xpand.activities/plugin.properties
@@ -0,0 +1,21 @@
+###############################################################################
+# Copyright (c) 2000, 2006 openArchitectureWare commiters and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# openArchitectureWare commiters - initial API and implementation
+###############################################################################
+pluginName=Xpand UI Activities (Incubation)
+providerName=Eclipse.org
+
+activity.category=M2T Xpand
+activity.category.description=Generator that allows to transform models into text
+
+activity.xpand.ui=Xpand UI
+activity.xpand.ui.description=Enables the UI contributions of Xpand
+
+activity.xtend.ui=Xtend UI
+activity.xtend.ui.description=Enables the UI contributions of Xtend \ No newline at end of file
diff --git a/plugins/org.eclipse.xpand.activities/plugin.xml b/plugins/org.eclipse.xpand.activities/plugin.xml
new file mode 100644
index 0000000..009a8c9
--- /dev/null
+++ b/plugins/org.eclipse.xpand.activities/plugin.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <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.xpand.ui.description"
+ id="org.eclipse.xpand.ui"
+ name="%activity.xpand.ui">
+ </activity>
+ <activity
+ description="%activity.xtend.ui.description"
+ id="org.eclipse.xtend.ui"
+ name="%activity.xtend.ui">
+ </activity>
+ <activityPatternBinding
+ activityId="org.eclipse.xpand.ui"
+ pattern="org\.eclipse\.xpand\.ui\..*/.*">
+ </activityPatternBinding>
+ <activityPatternBinding
+ activityId="org.eclipse.xtend.ui"
+ pattern="org\.eclipse\.xtend\.ui\..*/.*">
+ </activityPatternBinding>
+ <categoryActivityBinding
+ activityId="org.eclipse.xtend.ui"
+ categoryId="org.eclipse.xpand.ui.category">
+ </categoryActivityBinding>
+ <defaultEnablement
+ id="org.eclipse.xpand.ui">
+ </defaultEnablement>
+ <defaultEnablement
+ id="org.eclipse.xtend.ui">
+ </defaultEnablement>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.xpand.ui/plugin.properties b/plugins/org.eclipse.xpand.ui/plugin.properties
index 388e0b3..27dd5e8 100644
--- a/plugins/org.eclipse.xpand.ui/plugin.properties
+++ b/plugins/org.eclipse.xpand.ui/plugin.properties
@@ -10,9 +10,3 @@
###############################################################################
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 296410a..0bfa135 100644
--- a/plugins/org.eclipse.xpand.ui/plugin.xml
+++ b/plugins/org.eclipse.xpand.ui/plugin.xml
@@ -1,199 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
-
- <extension
- point="org.eclipse.xtend.shared.ui.resourceContributor">
- <resourceContributor class="org.eclipse.xpand.ui.core.internal.builder.XpandResourceParser"/>
- </extension>
-
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.xpand.ui.editor.XpandEditor"
- contributorClass="org.eclipse.xpand.ui.editor.actions.XpandEditorContributor"
- default="true"
- extensions="xpt"
- icon="icons/templatefile.gif"
- id="org.eclipse.xpand.ui.XpandEditor"
- name="Xpand Editor">
- </editor>
- </extension>
-
-<!-- ================================================================================ -->
-<!-- command -->
-<!-- ================================================================================ -->
-
-
-
- <extension
- point="org.eclipse.ui.commands">
- <category
- name="Xpand Editor"
- description="Xpand Editor Commands"
- id="org.eclipse.xpand.ui">
- </category>
- <command
- name="Insert LT"
- categoryId="org.eclipse.xtend.xpand2.editor"
- description="Insert Xpand start terminal"
- id="org.eclipse.xpand.ui.insertLT"
- >
- </command>
- <command
- name="Insert RT"
- categoryId="org.eclipse.xtend.xpand2.editor"
- description="Insert Xpand end terminal"
- id="org.eclipse.xpand.ui.insertRT"
- >
- </command>
- <keyBinding
- keySequence="M1+&lt;"
- commandId="org.eclipse.xpand.ui.insertLT"
- keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </keyBinding>
- <keyBinding
- keySequence="M1+&gt;"
- commandId="org.eclipse.xpand.ui.insertRT"
- keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </keyBinding>
- <!-- MacOSX -->
- <keyBinding
- keySequence="M4+&lt;"
- commandId="org.eclipse.xpand.ui.insertLT"
- keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </keyBinding>
- <keyBinding
- keySequence="M4+&gt;"
- commandId="org.eclipse.xpand.ui.insertRT"
- keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </keyBinding>
- </extension>
-
-
-<!-- ================================================================================ -->
-<!-- wizard -->
-<!-- ================================================================================ -->
-
-
- <extension
- point = "org.eclipse.ui.newWizards">
- <category
- id = "org.eclipse.xpand.ui.newWizards"
- name="Xpand">
- </category>
- <wizard
- category="org.eclipse.xpand.ui.newWizards"
- class="org.eclipse.xpand.ui.wizard.NewTemplateFileWizard"
- icon="icons/templatefile.gif"
- id="org.eclipse.xpand.ui.wizard.NewTemplateFileWizard"
- name="Xpand Template">
- <description>Create a new Xpand Template File</description>
- <selection class="org.eclipse.core.resources.IResource"/>
- </wizard>
- </extension>
- <extension
- point="org.eclipse.ui.themes">
- <fontDefinition
- categoryId="org.eclipse.xpand.ui.xpandCategory"
- defaultsTo="org.eclipse.jdt.ui.editors.textfont"
- id="org.eclipse.xpand.ui.xpandFont"
- isEditable="true"
- label="Xpand Editor Text Font"/>
- <themeElementCategory
- id="org.eclipse.xpand.ui.xpandCategory"
- label="Xpand"
- parentId="org.eclipse.xtend.shared.ui.extXptThemeCategory"/>
- </extension>
- <extension
- point="org.eclipse.ui.actionSets">
- <actionSet
- description="Xpand refactoring actions"
- id="org.eclipse.xpand.ui.refactoring.CodingActionSet"
- label="Xpand Coding"
- visible="true">
- <menu
- id="org.eclipse.xpand.ui.refactoring.menu"
- label="Refactor"
- path="edit">
- <separator
- name="codingGroup">
- </separator>
- </menu>
- <!--
- <action
- definitionId="org.eclipse.xtend.xpand2.extract.define"
- label="Extract Define..."
- retarget="true"
- menubarPath="org.eclipse.xtend.xpand2.refactoring.menu/codingGroup"
- id="org.eclipse.xtend.xpand2.actions.ExtractDefine">
- </action>
- -->
- <action
- definitionId="org.eclipse.xpand.ui.refactoring.rename.define"
- label="Rename Define..."
- retarget="true"
- menubarPath="org.eclipse.xpand.ui.refactoring.menu/codingGroup"
- id="org.eclipse.xpand.ui.actions.RenameDefine">
- </action>
- </actionSet>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <category
- name="XPand Refactoring"
- description="Xpand Refactoring Commands"
- id="org.eclipse.xpand.ui.refactoring">
- </category>
- <command
- name="Refactoring..."
- description="Open the refactoring quick menu"
- categoryId="org.eclipse.xpand.ui.refactoring"
- id="org.eclipse.xpand.ui.refactoring.quickMenu">
- </command>
- <command
- categoryId="org.eclipse.xpand.ui.refactoring"
- description="Rename Define Refactoring"
- id="org.eclipse.xpand.ui.refactoring.rename.define"
- name="Rename Define">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.bindings">
- <key
- commandId="org.eclipse.xpand.ui.refactoring.quickMenu"
- contextId="org.eclipse.xpand.ui.XpandEditorScope"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M2+M3+T">
- </key>
- <key
- commandId="org.eclipse.xpand.ui.refactoring.rename.define"
- contextId="org.eclipse.xpand.ui.XpandEditorScope"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M2+M3+R">
- </key>
- </extension>
- <extension
- point="org.eclipse.ui.contexts">
- <context
- description="Editing Xpand Files Scope"
- id="org.eclipse.xpand.ui.XpandEditorScope"
- name="Editing Xpand Files"
- parentId="org.eclipse.ui.textEditorScope">
- </context>
- </extension>
- <extension
- point="org.eclipse.emf.mwe.ui.debugAdapters">
- <adapter
- name="Xpand Debug Adapters"
- pluginClass="org.eclipse.xpand.ui.debug.XpandPluginAdapter"
- runtimeClass="org.eclipse.internal.xpand2.debug.XpandElementAdapter">
- </adapter>
- </extension>
-
-<!-- ================================================================================ -->
-<!-- Capability definition -->
-<!-- ================================================================================ -->
<extension
point="org.eclipse.ui.activities">