| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <plugin> |
| <extension |
| point="org.eclipse.ui.commands"> |
| <category |
| id="org.eclipse.app4mc.emfutils.content.extractor.category" |
| name="Extract Eclass References Category"> |
| </category> |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.eClassHierarchy.command" |
| name="Extract Eclass Hierarchy"> |
| </command> |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.eObjectReferences.command" |
| name="Extract Eobject References"> |
| </command> |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.eClassAllReferences.command" |
| name="Extract Eclass All References"> |
| </command> |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.eClassContentsAndHierarchy.command" |
| name="Extract Eclass Hierarchy And Their Contents"> |
| </command> |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.eClassContents.command" |
| name="Extract Eclass UML Contents"> |
| </command> |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.eClassContentsFromReference.command" |
| name="From reference -> Extract Eclass UML Contents"> |
| </command> |
| |
| <command |
| categoryId="org.eclipse.app4mc.emfutils.content.extractor.category" |
| id="org.eclipse.app4mc.emfutils.content.extractor.copyContents.command" |
| name="Copy Contents and Generate CSV"> |
| </command> |
| |
| |
| </extension> |
| <extension |
| point="org.eclipse.ui.handlers"> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.EClassHierarchyHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassHierarchy.command"> |
| </handler> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.EObjectRefsHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eObjectReferences.command"> |
| </handler> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.EClassAllReferencesHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassAllReferences.command"> |
| </handler> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.EClassContentsAndHierarchyHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassContentsAndHierarchy.command"> |
| </handler> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.EClassContentsHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassContents.command"> |
| </handler> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.EClassContentsFromReferenceHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassContentsFromReference.command"> |
| </handler> |
| <handler |
| class="org.eclipse.app4mc.emfutils.content.extractor.handlers.CopyContentsHandler" |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.copyContents.command"> |
| </handler> |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| locationURI="popup:org.eclipse.ui.popup.any?after=additions"> |
| <menu |
| id="org.eclipse.app4mc.emfutils.content.extractor.menu" |
| label="APP4MC-EMF Utils" |
| mnemonic="M"> |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassHierarchy.command" |
| icon="icons/keygroups_obj.gif" |
| id="com.test.menus.sampleCommand" |
| label="EClass Hierarchy" |
| mnemonic="S"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate |
| operator="or"> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EDataType"> |
| </instanceof> |
| </not> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </not> |
| </or> |
| </iterate> |
| |
| </with> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eObjectReferences.command" |
| icon="icons/sample.gif" |
| id="com.test.menus.sampleCommand1" |
| label="Eobject Refs"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EClass"> |
| </instanceof> |
| </not> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </not> |
| </or> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EDataType"> |
| </instanceof> |
| </not> |
| </or> |
| </iterate> |
| |
| </with> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassAllReferences.command" |
| icon="icons/tag_blue_add.png" |
| id="com.test.menus.sampleCommand4" |
| label="EClass All References" |
| mnemonic="S"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EDataType"> |
| </instanceof> |
| </not> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </not> |
| </or> |
| </iterate> |
| |
| </with> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassContentsAndHierarchy.command" |
| icon="icons/elements_obj.gif" |
| id="com.test.menus.sampleCommand" |
| label="EClass Contents + Hierarchy" |
| mnemonic="S"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EDataType"> |
| </instanceof> |
| </not> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </not> |
| </or> |
| </iterate> |
| |
| </with> |
| |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassContents.command" |
| icon="icons/prop_ps.gif" |
| id="com.test.menus.sampleCommand" |
| label="EClass Contents" |
| mnemonic="S"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EDataType"> |
| </instanceof> |
| </not> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </not> |
| </or> |
| </iterate> |
| |
| </with> |
| |
| </visibleWhen> |
| </command> |
| |
| |
| |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.eClassContentsFromReference.command" |
| icon="icons/drive_go.png" |
| id="com.test.menus.sampleCommand" |
| label="EClass Contents from Reference" |
| mnemonic="S"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </iterate> |
| |
| </with> |
| </visibleWhen> |
| </command> |
| |
| <command |
| commandId="org.eclipse.app4mc.emfutils.content.extractor.copyContents.command" |
| icon="icons/keygroups_obj.gif" |
| id="com.test.menus.sampleCommand.copy" |
| label="Copy Contents Command" |
| mnemonic="S"> |
| <visibleWhen |
| checkEnabled="true"> |
| |
| <with |
| variable="activeMenuSelection"> |
| |
| <iterate |
| operator="or"> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EDataType"> |
| </instanceof> |
| </not> |
| <or> |
| <not> |
| <instanceof |
| value="org.eclipse.emf.ecore.EStructuralFeature"> |
| </instanceof> |
| </not> |
| </or> |
| </iterate> |
| |
| </with> |
| </visibleWhen> |
| </command> |
| |
| |
| |
| |
| <visibleWhen |
| checkEnabled="true"> |
| <with |
| variable="activeMenuSelection"> |
| <iterate> |
| <instanceof |
| value="org.eclipse.emf.ecore.EObject"> |
| </instanceof> |
| </iterate> |
| </with> |
| </visibleWhen> |
| </menu> |
| </menuContribution> |
| </extension> |
| <extension |
| point="org.eclipse.ui.preferencePages"> |
| <page |
| class="org.eclipse.app4mc.emfutils.content.extractor.preferences.AmaltheaGraphicalRepresentationPreferencePage" |
| id="org.eclipse.app4mc.emfutils.content.extractor.preferences.AmaltheaPreferencePage" |
| name="AMALTHEA-Graphical-Representation"> |
| </page> |
| </extension> |
| <extension |
| point="org.eclipse.core.runtime.preferences"> |
| <initializer |
| class="org.eclipse.app4mc.emfutils.content.extractor.preferences.PreferenceInitializer"> |
| </initializer> |
| </extension> |
| <extension |
| point="org.eclipse.ui.views"> |
| <category |
| id="org.eclipse.app4mc.emfutils.content.extractor" |
| name="AMALTHEA Graphical Representation"> |
| </category> |
| <view |
| category="org.eclipse.app4mc.emfutils.content.extractor" |
| class="org.eclipse.app4mc.emfutils.content.extractor.views.DiagramView" |
| icon="icons/sample.gif" |
| id="org.eclipse.app4mc.emfutils.content.extractor.views.DiagramView" |
| name="Diagram View"> |
| </view> |
| </extension> |
| <extension |
| point="org.eclipse.ui.perspectiveExtensions"> |
| <perspectiveExtension |
| targetID="org.eclipse.jdt.ui.JavaPerspective"> |
| <view |
| id="org.eclipse.app4mc.emfutils.content.extractor.views.DiagramView" |
| ratio="0.5" |
| relationship="right" |
| relative="org.eclipse.ui.views.ProblemView"> |
| </view> |
| </perspectiveExtension> |
| </extension> |
| |
| </plugin> |