Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2014-03-25 15:44:27 +0000
committerptessier2014-03-25 15:44:27 +0000
commit165053b09ace99128aa84cdd997dc71834b87a46 (patch)
treed4c8956471e6effa0d85b019dd7730ea32ff995a /plugins/facet
parentcbf0292270ab55f1d748d380522a325cc08d402c (diff)
downloadorg.eclipse.papyrus-165053b09ace99128aa84cdd997dc71834b87a46.tar.gz
org.eclipse.papyrus-165053b09ace99128aa84cdd997dc71834b87a46.tar.xz
org.eclipse.papyrus-165053b09ace99128aa84cdd997dc71834b87a46.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.common.ui/plugin.xml37
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.custom.sdk.ui/plugin.xml202
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/plugin.xml11
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.editor/plugin.xml12
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/plugin.xml203
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/plugin.xml223
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/plugin.xml99
7 files changed, 5 insertions, 782 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.common.ui/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.common.ui/plugin.xml
index f08078f521b..7d26320d871 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.common.ui/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.common.ui/plugin.xml
@@ -13,40 +13,5 @@
Grégoire Dupé (Mia-Software) - Bug 388422 - [Table] Queries for InstanciationMethod needs to have 2 parameters
-->
<plugin>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- class="org.eclipse.papyrus.emf.facet.common.ui.internal.preference.pages.EmfFacetRootPreferencePage"
- id="org.eclipse.papyrus.emf.facet.common.ui.preference.pages.EmfFacetRootPreferencePage"
- name="%page.name">
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.views">
- <category
- id="org.eclipse.papyrus.emf.facet.common.ui.views"
- name="%category.name">
- </category>
- </extension>
-
- <extension point="org.eclipse.ui.newWizards">
- <category
- id="org.eclipse.papyrus.emf.facet.common.ui.wizardsCategory"
- name="%category.name">
- </category>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- allPopups="false"
- locationURI="popup:org.eclipse.ui.popup.any">
- <menu
- id="org.eclipse.papyrus.emf.facet.common.ui.menu.examples"
- label="%emf.facet.examples">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </menu>
- </menuContribution>
- </extension>
+
</plugin>
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 df70d31d016..27a0f14f477 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,205 +19,5 @@
<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.newWizards">
- <wizard
- category="org.eclipse.papyrus.emf.facet.common.ui.wizardsCategory"
- class="org.eclipse.papyrus.emf.facet.custom.sdk.ui.internal.util.wizard.CreateCustimizationWizardImpl"
- icon="icons/full/obj16/CustomModelFile.gif"
- id="org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.custom.presentation.CustomModelWizardID"
- name="%wizard.name">
- <description>
- %wizard.description
- </description>
- <selection
- class="org.eclipse.core.resources.IResource">
- </selection>
- </wizard>
- </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.custom.ui/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/plugin.xml
index 96b066c4840..78e024c39df 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/plugin.xml
@@ -18,16 +18,7 @@ Contributors:
<modeldeclaration file="resources/customproperties.efacet"/>
</extension>
- <extension point="org.eclipse.ui.views">
- <view
- category="org.eclipse.papyrus.emf.facet.common.ui.views"
- class="org.eclipse.papyrus.emf.facet.custom.ui.internal.view.CustomizationsCatalogView"
- icon="icons/uiCustom.gif"
- id="org.eclipse.papyrus.emf.facet.custom.ui.view.catalog"
- name="%view.customizations"
- restorable="true">
- </view>
- </extension>
+
<extension
point="org.eclipse.papyrus.emf.facet.efacet.core.queryImplementationRegistration">
<queryImplementationRegistration
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.editor/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.editor/plugin.xml
index 6177adecda8..d8a178677c7 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.editor/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.editor/plugin.xml
@@ -17,16 +17,4 @@
<plugin>
-
- <extension point="org.eclipse.ui.editors">
- <editor
- id="org.eclipse.papyrus.emf.facet.efacet.presentation.EFacetEditorID"
- name="%_UI_EFacetEditor_label"
- icon="icons/full/obj16/EFacetModelFile.gif"
- extensions="efacet"
- class="org.eclipse.papyrus.emf.facet.efacet.presentation.EFacetEditor"
- contributorClass="org.eclipse.papyrus.emf.facet.efacet.presentation.EFacetActionBarContributor">
- </editor>
- </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 25518a889a2..6b3480cce13 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,206 +13,5 @@
-->
<plugin>
<extension-point id="queryFactoryDialogRegistration" name="%extension-point.name" schema="schema/queryFactoryDialogRegistration.exsd"/>
- <extension point="org.eclipse.ui.newWizards">
- <wizard
- category="org.eclipse.papyrus.emf.facet.common.ui.wizardsCategory"
- class="org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.wizard.CreateFacetSetWizard"
- icon="icons/facet.gif"
- id="org.eclipse.papyrus.emf.facet.efacet.metamodel.v0_2_0.efacet.presentation.EFacetModelWizardID"
- name="%wizard.name">
- <description>
- %wizard.description
- </description>
- <selection
- class="org.eclipse.core.resources.IResource">
- </selection>
- </wizard>
- </extension>
- <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>
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/plugin.xml
index fba567f8b86..c885714cf36 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/plugin.xml
@@ -16,228 +16,7 @@
<plugin>
<extension-point id="queryFactoryWizardPageRegistration" name="%extension-point.name" schema="schema/queryFactoryWizardPageRegistration.exsd"/>
<extension-point id="eTypedElementResultDisplay" name="%ETypedElementResult_Display" schema="schema/eTypedElementResultDisplay.exsd"/>
- <extension point="org.eclipse.ui.newWizards">
- <wizard
- category="org.eclipse.papyrus.emf.facet.common.ui.wizardsCategory"
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.wizards.CreateFacetSetWizardImpl"
- icon="icons/facet.gif"
- id="org.eclipse.papyrus.emf.facet.infra.facet.editor.presentation.FacetModelWizardID"
- name="%wizard.name">
- <description>
- %wizard.description
- </description>
- <selection
- class="org.eclipse.core.resources.IResource">
- </selection>
- </wizard>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- allPopups="true"
- locationURI="popup:org.eclipse.papyrus.emf.facet.efacet.presentation.EFacetEditorID?before=edit">
- <menu
- label="%menu.label">
- <command
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.createFacetInFacetSet"
- icon="icons/facet.gif"
- style="push">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addParameterToFacetOperation"
- icon="icons/facet.gif"
- style="push">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetReference"
- icon="icons/facet.gif"
- style="push">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetOperation"
- icon="icons/facet.gif"
- style="push">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </command>
- <command
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetAttribute"
- icon="icons/facet.gif"
- style="push">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </command>
- </menu>
- </menuContribution>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- id="org.eclipse.papyrus.emf.facet.efacet.ui.createFacetInFacetSet"
- name="%command.name">
- </command>
- <command
- id="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetAttribute"
- name="%command.name.0">
- </command>
- <command
- id="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetOperation"
- name="%command.name.1">
- </command>
- <command
- id="org.eclipse.papyrus.emf.facet.efacet.ui.addParameterToFacetOperation"
- name="%command.name.2">
- </command>
- <command
- id="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetReference"
- name="%command.name.3">
- </command>
- <command
- defaultHandler="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.NavigationHandler"
- id="org.eclipse.papyrus.emf.facet.efacet.ui.navigate"
- name="%navigate_handler">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.CreateFacetInFacetSetHandler"
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.createFacetInFacetSet">
- <activeWhen>
- <with
- variable="selection">
- <test
- forcePluginActivation="true"
- property="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester.isFacetSet"
- value="true">
- </test>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.AddFacetOperationHandler"
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetOperation">
- <activeWhen>
- <with
- variable="selection">
- <test
- forcePluginActivation="true"
- property="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester.isFacet"
- value="true">
- </test>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.AddFacetAttributeHandler"
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetAttribute">
- <activeWhen>
- <with
- variable="selection">
- <test
- forcePluginActivation="true"
- property="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester.isFacet"
- value="true">
- </test>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.AddFacetParameterOperationHandler"
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addParameterToFacetOperation">
- <activeWhen>
- <with
- variable="selection">
- <test
- forcePluginActivation="true"
- property="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester.isFacetOperation"
- value="true">
- </test>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.AddFacetReferenceHandler"
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.addFacetReference">
- <activeWhen>
- <with
- variable="selection">
- <test
- forcePluginActivation="true"
- property="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester.isFacet"
- value="true">
- </test>
- </with>
- </activeWhen>
- </handler>
- </extension>
- <extension
- point="org.eclipse.core.expressions.propertyTesters">
- <propertyTester
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.handlers.FacetPropertyTester"
- id="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester"
- namespace="org.eclipse.papyrus.emf.facet.efacet.ui.facetPropertyTester"
- properties="isFacet,isFacetSet,isFacetOperation,isFacetAttribute,isFacetReference"
- type="org.eclipse.jface.viewers.StructuredSelection">
- </propertyTester>
- </extension>
- <extension
- point="org.eclipse.ui.views">
- <view
- category="org.eclipse.papyrus.emf.facet.common.ui.views"
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.view.NavigationView"
- id="org.eclipse.papyrus.emf.facet.efacet.ui.view.navigation"
- name="%navigation_view"
- restorable="true">
- </view>
- </extension>
-
- <extension point="org.eclipse.ui.views">
- <view
- category="org.eclipse.papyrus.emf.facet.common.ui.views"
- class="org.eclipse.papyrus.emf.facet.efacet.ui.internal.view.FacetSetsCatalogView"
- icon="icons/facet.gif"
- id="org.eclipse.papyrus.emf.facet.efacet.ui.view.catalog"
- name="%view.facetSets"
- restorable="true">
- </view>
- </extension>
-
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- allPopups="true"
- locationURI="popup:org.eclipse.ui.popup.any?after=additions">
- <command
- commandId="org.eclipse.papyrus.emf.facet.efacet.ui.navigate"
- label="%navigate_command"
- style="push">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <iterate
- ifEmpty="false">
- <instanceof
- value="org.eclipse.emf.ecore.EObject">
- </instanceof>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
+
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/plugin.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/plugin.xml
index 3378b06b22c..63eb1fcbbf8 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/plugin.xml
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/plugin.xml
@@ -14,104 +14,5 @@
Gregoire Dupe (Mia-Sodtware) - Bug 406570 - Handlers to Save and SaveAs EMF resources
-->
<plugin>
- <extension
- point="org.eclipse.ui.views">
- <view
- category="org.eclipse.papyrus.emf.facet.common.ui.views"
- class="org.eclipse.papyrus.emf.facet.util.emf.ui.internal.view.PackageRegistryView"
- icon="icons/EPackageView.gif"
- id="org.eclipse.papyrus.emf.facet.infra.common.ui.views.packageRegistry"
- name="%view.name"
- restorable="true">
- </view>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <category
- id="org.eclipse.papyrus.emf.facet.util.emf.ui.category"
- name="%emf.facet.category.name">
- </category>
- <command
- categoryId="org.eclipse.papyrus.emf.facet.util.emf.ui.category"
- id="org.eclipse.papyrus.emf.facet.util.emf.ui.OpenModelFromEmfRegistryCommand"
- name="%openmodel.command.name">
- </command>
- </extension>
-
- <extension
- point="org.eclipse.ui.actionSets">
- <actionSet
- id="org.eclipse.papyrus.emf.facet.common.editor.actionSet"
- label="%actionSet.label"
- visible="true">
- <action
- class="org.eclipse.papyrus.emf.facet.util.emf.ui.internal.actions.OpenModelFromEmfRegistryAction"
- definitionId="org.eclipse.papyrus.emf.facet.util.emf.ui.OpenModelFromEmfRegistryCommand"
- icon="icons/logoEmfFacetMini.gif"
- id="org.eclipse.papyrus.emf.facet.util.emf.actions.OpenModelFromEmfRegistry"
- label="%action.label"
- menubarPath="navigate/open.ext2"
- style="push"
- toolbarPath="Normal"
- tooltip="%action.tooltip">
- </action>
- </actionSet>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.emf.facet.util.emf.ui.internal.handler.SaveHandler"
- commandId="org.eclipse.ui.file.save">
- <activeWhen>
- <reference
- definitionId="org.eclipse.modisco.infra.browser.resourcemanager.ui.expression.isResource">
- </reference>
- </activeWhen>
- <enabledWhen>
- <reference
- definitionId="org.eclipse.modisco.infra.browser.resourcemanager.ui.expression.isResource">
- </reference>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.emf.facet.util.emf.ui.internal.handler.SaveAsHandler"
- commandId="org.eclipse.ui.file.saveAs">
- <activeWhen>
- <reference
- definitionId="org.eclipse.modisco.infra.browser.resourcemanager.ui.expression.isResource">
- </reference>
- </activeWhen>
- <enabledWhen>
- <reference
- definitionId="org.eclipse.modisco.infra.browser.resourcemanager.ui.expression.isResource">
- </reference>
- </enabledWhen>
- </handler>
- </extension>
- <extension
- point="org.eclipse.core.expressions.definitions">
- <definition
- id="org.eclipse.modisco.infra.browser.resourcemanager.ui.expression.isResource">
- <with
- variable="activeMenuSelection">
- <iterate
- ifEmpty="false"
- operator="or">
- <adapt
- type="org.eclipse.emf.ecore.resource.Resource">
- </adapt>
- </iterate>
- </with>
- </definition>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.papyrus.emf.facet.common.ui.preference.pages.EmfFacetRootPreferencePage"
- class="org.eclipse.papyrus.emf.facet.util.emf.ui.internal.preference.pages.DefaultBrowserPreferencePage"
- id="org.eclipse.papyrus.emf.facet.util.emf.ui.DefaultBrowserPreferencePage"
- name="%page.name">
- </page>
- </extension>
</plugin>

Back to the top