Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2014-03-27 16:46:35 +0000
committerptessier2014-03-27 16:46:35 +0000
commit501982f8212a21792102b0a0c85c489217d780d7 (patch)
treed03e581628489b6f64646868e4f9af17cf64b46e /plugins/facet
parente4b3dd45e9cac59f753eab6c7e3ecf192fae591f (diff)
downloadorg.eclipse.papyrus-501982f8212a21792102b0a0c85c489217d780d7.tar.gz
org.eclipse.papyrus-501982f8212a21792102b0a0c85c489217d780d7.tar.xz
org.eclipse.papyrus-501982f8212a21792102b0a0c85c489217d780d7.zip
386118: [EMF Facet] Papyrus should progressively support EMF Facet 0.2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386118
Diffstat (limited to 'plugins/facet')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.custom.sdk.ui/plugin.xml187
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/plugin.xml188
2 files changed, 373 insertions, 2 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.sdk.ui/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.sdk.ui/plugin.xml
index 27a0f14f477..9f55afabaa6 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.sdk.ui/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.sdk.ui/plugin.xml
@@ -19,5 +19,190 @@
<extension point="org.eclipse.papyrus.emf.facet.widgets.celleditors.compositeEditorFactories">
<compositeEditorFactory class="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.widgets.celleditors.composite.ImageCompositeFactory"/>
</extension>
-
+
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.util.handler.CreateEClassCustomizationHandler"
+ id="org.eclipse.papyrus.emf.facet.custom.sdk.ui.CreateEClassCustomization"
+ name="%command.custo.name">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.util.handler.CreateFacetCustomizationHandler"
+ id="org.eclipse.papyrus.emf.facet.custom.sdk.ui.CreateFacetCustomization"
+ name="%command.custo.name.1">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.util.handler.AddCustomizationPropertyInEClassHandler"
+ id="org.eclipse.papyrus.emf.facet.custom.sdk.ui.AddCustomization"
+ name="%command.custo.name.2">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.util.handler.AddCaseQueryHandler"
+ id="org.eclipse.papyrus.emf.facet.custom.sdk.ui.AddCaseQuery"
+ name="%command.custo.name.3">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="true"
+ locationURI="popup:org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.custom.presentation.CustomEditorID?before=edit">
+ <menu
+ label="%menu.custo.label">
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.custom.sdk.ui.CreateEClassCustomization"
+ icon="icons/full/obj16/CustomModelFile.gif"
+ label="%command.custo.name"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.custom.sdk.ui.CreateFacetCustomization"
+ icon="icons/full/obj16/CustomModelFile.gif"
+ label="%command.custo.name.1"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.custom.sdk.ui.AddCustomization"
+ icon="icons/full/obj16/CustomModelFile.gif"
+ label="%command.custo.name.2"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.custom.sdk.ui.AddCaseQuery"
+ icon="icons/querySet.gif"
+ label="%command.custo.name.3"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ </menu>
+ <menu
+ label="%menu.label">
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.createFacetSetInFacetSet"
+ icon="icons/FacetSet.gif"
+ label="%command.name"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.createFacetInFacetSet"
+ icon="icons/facet.gif"
+ label="%command.name.0"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addAttributeInFacet"
+ icon="icons/FacetAttribute.gif"
+ label="%command.name.1"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addOperationInFacet"
+ icon="icons/FacetOperation.gif"
+ label="%command.name.2"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addReferenceInFacet"
+ icon="icons/FacetReference.gif"
+ label="%command.name.4"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addParameterInOperation"
+ icon="icons/ParameterValue.gif"
+ label="%command.name.3"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetSet"
+ icon="icons/FacetSet.gif"
+ label="%command.name.5"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacet"
+ icon="icons/facet.gif"
+ label="%command.name.6"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetAttribute"
+ icon="icons/FacetAttribute.gif"
+ label="%command.name.7"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetOperation"
+ icon="icons/FacetOperation.gif"
+ label="%command.name.8"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetOperationParameter"
+ icon="icons/ParameterValue.gif"
+ label="%command.name.9"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetReference"
+ icon="icons/FacetReference.gif"
+ label="%command.name.10"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ </menu>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.startup">
+ <startup
+ class="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.Startup"></startup>
+ </extension>
</plugin>
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/plugin.xml
index 6b3480cce13..cff58e6e921 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/plugin.xml
@@ -13,5 +13,191 @@
-->
<plugin>
<extension-point id="queryFactoryDialogRegistration" name="%extension-point.name" schema="schema/queryFactoryDialogRegistration.exsd"/>
-
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="true"
+ locationURI="popup:org.eclipse.papyrus.emf.facet.efacet.metamodel.v0_2_0.efacet.presentation.EFacetEditorID?before=edit">
+ <menu
+ label="%menu.label">
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.createFacetSetInFacetSet"
+ icon="icons/FacetSet.gif"
+ label="%command.name"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.createFacetInFacetSet"
+ icon="icons/facet.gif"
+ label="%command.name.0"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addAttributeInFacet"
+ icon="icons/FacetAttribute.gif"
+ label="%command.name.1"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addOperationInFacet"
+ icon="icons/FacetOperation.gif"
+ label="%command.name.2"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addReferenceInFacet"
+ icon="icons/FacetReference.gif"
+ label="%command.name.4"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addParameterInOperation"
+ icon="icons/ParameterValue.gif"
+ label="%command.name.3"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetSet"
+ icon="icons/FacetSet.gif"
+ label="%command.name.5"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacet"
+ icon="icons/facet.gif"
+ label="%command.name.6"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetAttribute"
+ icon="icons/FacetAttribute.gif"
+ label="%command.name.7"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetOperation"
+ icon="icons/FacetOperation.gif"
+ label="%command.name.8"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetOperationParameter"
+ icon="icons/ParameterValue.gif"
+ label="%command.name.9"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetReference"
+ icon="icons/FacetReference.gif"
+ label="%command.name.10"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ </menu>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.creation.CreateFacetSetInFacetSetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.createFacetSetInFacetSet"
+ name="%command.name">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.creation.CreateFacetInFacetSetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.createFacetInFacetSet"
+ name="%command.name.0">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.creation.AddAttributeInFacetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addAttributeInFacet"
+ name="%command.name.1">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.creation.AddOperationInFacetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addOperationInFacet"
+ name="%command.name.2">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.creation.AddReferenceInFacetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addReferenceInFacet"
+ name="%command.name.4">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.creation.AddParameterInOperationHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.addParameterInOperation"
+ name="%command.name.3">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition.EditFacetSetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetSet"
+ name="%command.name.5">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition.EditFacetHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacet"
+ name="%command.name.6">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition.EditFacetAttributeHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetAttribute"
+ name="%command.name.7">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition.EditFacetOperationHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetOperation"
+ name="%command.name.8">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition.EditFacetOperationParameterHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetOperationParameter"
+ name="%command.name.9">
+ </command>
+ <command
+ defaultHandler="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.handler.edition.EditFacetReferenceHandler"
+ id="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.editFacetReference"
+ name="%command.name.10">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.startup">
+ <startup
+ class="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.Startup">
+ </startup>
+ </extension>
</plugin>

Back to the top