Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-08-20 13:57:42 +0000
committervlorenzo2012-08-20 13:57:42 +0000
commit7ffd4856375624197517bb9f8f68c6d02393c0fb (patch)
tree26078be8e5942268faf323b77bf9ba0fa7ab1f18 /incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml
parenta05eaed2a52810c733568defe992d57c5a9868a7 (diff)
downloadorg.eclipse.papyrus-7ffd4856375624197517bb9f8f68c6d02393c0fb.tar.gz
org.eclipse.papyrus-7ffd4856375624197517bb9f8f68c6d02393c0fb.tar.xz
org.eclipse.papyrus-7ffd4856375624197517bb9f8f68c6d02393c0fb.zip
A save of my work on the new tables
Manage the synchronization of the table (first part of this development)
Diffstat (limited to 'incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml')
-rw-r--r--incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml122
1 files changed, 121 insertions, 1 deletions
diff --git a/incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml b/incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml
index a9ad19f2f90..467a5c5e259 100644
--- a/incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml
+++ b/incoming/TableEFacet/org.eclipse.papyrus.infra.table.efacet.common/plugin.xml
@@ -22,5 +22,125 @@
</toolbar>
</menuContribution>
</extension>
-
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ categoryId="org.eclipse.emf.facet.widgets.table.command.category"
+ description="Move the line up"
+ id="org.eclipse.papyrus.infra.table.efacet.common.command.moveuprow"
+ name="Move Line Up">
+ </command>
+ <command
+ categoryId="org.eclipse.emf.facet.widgets.table.command.category"
+ description="Move the line down"
+ id="org.eclipse.papyrus.infra.table.efacet.common.command.movedownrow"
+ name="Move Line Down">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.ui.popup.any">
+ <command
+ commandId="org.eclipse.papyrus.infra.table.efacet.common.command.moveuprow"
+ icon="icons/up.gif"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <and>
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.papyrus.infra.core.papyrusEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePart">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.papyrus.infra.table.efacet.common.propertyTester.isPapyrusTableEfacet"
+ value="true">
+ </test>
+ </with>
+ </and>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.papyrus.infra.table.efacet.common.command.movedownrow"
+ icon="icons/down.gif"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <and>
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.papyrus.infra.core.papyrusEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePart">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.papyrus.infra.table.efacet.common.propertyTester.isPapyrusTableEfacet"
+ value="true">
+ </test>
+ </with>
+ </and>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.infra.table.efacet.common.handlers.DownRowHandler"
+ commandId="org.eclipse.papyrus.infra.table.efacet.common.command.movedownrow">
+ </handler>
+ <handler
+ class="org.eclipse.papyrus.infra.table.efacet.common.handlers.UpRowHandler"
+ commandId="org.eclipse.papyrus.infra.table.efacet.common.command.moveuprow">
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.ui.bindings">
+ <key
+ commandId="org.eclipse.papyrus.infra.table.efacet.common.command.moveuprow"
+ contextId="org.eclipse.papyrus.infra.table.efacet.common.context"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="ALT+ARROW_UP">
+ </key>
+ <key
+ commandId="org.eclipse.papyrus.infra.table.efacet.common.command.movedownrow"
+ contextId="org.eclipse.papyrus.infra.table.efacet.common.context"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="ALT+ARROW_DOWN">
+ </key>
+ </extension>
+ <extension
+ point="org.eclipse.ui.contexts">
+ <context
+ description="Papyrus Table Context"
+ id="org.eclipse.papyrus.infra.table.efacet.common.context"
+ name="Papyrus Table Context"
+ parentId="org.eclipse.ui.contexts.window">
+ </context>
+ </extension>
+ <extension
+ point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.eclipse.papyrus.infra.table.efacet.common.tester.TablePropertyTester"
+ id="org.eclipse.papyrus.infra.table.efacet.common.propertyTester"
+ namespace="org.eclipse.papyrus.infra.table.efacet.common.propertyTester"
+ properties="isPapyrusTableEfacet"
+ type="org.eclipse.ui.IWorkbenchPart">
+ </propertyTester>
+ </extension>
+ <extension
+ point="org.eclipse.emf.facet.widgets.celleditors.commandFactories">
+ <commandFactory
+ class="org.eclipse.papyrus.infra.table.efacet.common.factory.PapyrusCommandFactory">
+ </commandFactory>
+ </extension>
</plugin>

Back to the top