Skip to main content
summaryrefslogtreecommitdiffstats
blob: 9fd55c981bea921507b54ac084610a570bdbfc13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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>

Back to the top