Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml')
-rw-r--r--sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml97
1 files changed, 97 insertions, 0 deletions
diff --git a/sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml b/sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml
new file mode 100644
index 00000000000..78ba568260e
--- /dev/null
+++ b/sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ categoryId="org.eclipse.papyrus.editor.category"
+ description="Create a SysML Allocation NatTable Editor"
+ id="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
+ name="Create a new Allocation Table">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commandImages">
+ <image
+ commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
+ icon="platform:/plugin/org.eclipse.papyrus.sysml.nattable.allocation.config/icons/table_SysML_Allocation.gif">
+ </image>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command">
+ <activeWhen>
+ <or>
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.papyrus.infra.core.papyrusEditor">
+ </equals>
+ </with>
+ </or>
+ </activeWhen>
+ <class
+ class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorHandler">
+ <parameter
+ name="tableType"
+ value="PapyrusSysMLAllocationTable">
+ </parameter>
+ </class>
+ </handler>
+ </extension>
+ <extension
+ id="create.table.menus"
+ name="Create Table Menus"
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.papyrus.infra.nattable.popupmenu.createnattable">
+ <command
+ commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
+ style="push">
+ <visibleWhen>
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.papyrus.infra.core.papyrusEditor">
+ </equals>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="menu:org.eclipse.papyrus.infra.nattable.menu.createnattable">
+ <command
+ commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
+ style="push">
+ <visibleWhen>
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.papyrus.infra.core.papyrusEditor">
+ </equals>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:org.eclipse.papyrus.infra.nattable.toolbar.createnattable">
+ <command
+ commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command"
+ style="push">
+ <visibleWhen>
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.papyrus.infra.core.papyrusEditor">
+ </equals>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+
+</plugin>

Back to the top