diff options
Diffstat (limited to 'sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation.config/plugin.xml')
-rw-r--r-- | sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation.config/plugin.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation.config/plugin.xml b/sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation.config/plugin.xml new file mode 100644 index 00000000000..9fd55c981be --- /dev/null +++ b/sandbox/TableV3/org.eclipse.papyrus.sysml.nattable.allocation.config/plugin.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.papyrus.infra.nattable.tester">
+ <tester
+ class="org.eclipse.papyrus.sysml.nattable.allocation.config.tester.TableAllocationCreationTester"
+ id="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtablecreationtester">
+ </tester>
+ </extension>
+ <extension
+ point="org.eclipse.papyrus.infra.nattable.configuration">
+ <configuration
+ file="resources/allocation.nattableconfiguration">
+ </configuration>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.sysml.nattable.allocation.config.handler.CreateAllocateHandler"
+ commandId="org.eclipse.papyrus.sysml.service.types.AllocateCreateCommand">
+ <activeWhen>
+ <with
+ variable="selection">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtable.propertyTester.isAllocationTable"
+ value="true">
+ </test>
+ </with>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.eclipse.papyrus.sysml.nattable.allocation.config.tester.AllocationPropertyTester"
+ id="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtable.propertyTester"
+ namespace="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtable.propertyTester"
+ properties="isAllocationTable"
+ type="org.eclipse.jface.viewers.IStructuredSelection">
+ </propertyTester>
+ </extension>
+
+</plugin>
|