diff options
author | cdumoulin | 2013-06-04 22:28:00 +0000 |
---|---|---|
committer | cdumoulin | 2013-06-04 22:28:00 +0000 |
commit | 86bc96a9feeb841c45736f3e15a1137ec639fdc3 (patch) | |
tree | be625aeeaacbc8af42fed273aa5cb76bfdc22675 /plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml | |
parent | f528de033db621d3dfdc497c5f655ee86d3577d4 (diff) | |
download | org.eclipse.papyrus-86bc96a9feeb841c45736f3e15a1137ec639fdc3.tar.gz org.eclipse.papyrus-86bc96a9feeb841c45736f3e15a1137ec639fdc3.tar.xz org.eclipse.papyrus-86bc96a9feeb841c45736f3e15a1137ec639fdc3.zip |
ASSIGNED - bug 404142: [sasheditor] Rename diagram command from sash tab
https://bugs.eclipse.org/bugs/show_bug.cgi?id=404142
Rename works.
- add a mechanism allowing to listen on mouse double click events from sashcontainer'tabs
- add a listener listening on double click, and calling a predefined command.
- add a rename handler class callable when the current editor denote a diagram.
- associate the rename handler class to the rename predefined command id
- add an observable List of IFolder. The IFolder are nevered removed (this is a bug). Need to correct this bug
Diffstat (limited to 'plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml')
-rw-r--r-- | plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml index 9fef2c770d4..214f131e19c 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/plugin.xml @@ -2,5 +2,20 @@ <?eclipse version="3.4"?>
<plugin>
<extension-point id="operationApprover" name="operationApprover" schema="schema/operationApprover.exsd"/>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.commands.RenameDiagramHandler"
+ commandId="org.eclipse.papyrus.infra.core.sasheditor.command.tabdoubleclick">
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Rename the current Diagram"
+ id="org.eclipse.papyrus.infra.core.sasheditor.command.tabdoubleclick"
+ name="Rename Diagram">
+ </command>
+ </extension>
</plugin>
|