Skip to main content
summaryrefslogtreecommitdiffstats
blob: 8970b328ab4b44df7fbbcfcbb10f3e9a6f3ed4b1 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse version="3.4"?>

<plugin>
   <extension point="org.eclipse.papyrus.core.papyrusDiagram">
      <editorDiagram factoryClass="org.eclipse.papyrus.sysml.table.allocation.CreateAllocationTableFactory" icon="icons/allocation_table.png">
      </editorDiagram>
   </extension>
    <extension point="org.eclipse.ui.menus">
      <menuContribution allPopups="false" locationURI="toolbar:org.eclipse.papyrus.table.ui.toolbar">
         <command commandId="org.eclipse.papyrus.sysml.table.allocation.create.table.command" icon="icons/allocation_table.png" id="org.eclipse.papyrus.table.ui.toolbar.allocation.table" style="push" tooltip="Create a new SysML Allocation table">
            <visibleWhen>
               <with variable="activeEditorId">
                  <equals value="org.eclipse.papyrus.core.papyrusEditor">
                  </equals>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution allPopups="false" locationURI="popup:org.eclipse.papyrus.modelexplorer.popupmenu.createtable">
       <command commandId="org.eclipse.papyrus.sysml.table.allocation.create.table.command" icon="icons/allocation_table.png" id="org.eclipse.papyrus.modelexplorer.popupmenu.createtable.allocation.table" style="push" tooltip="Create a new SysML Allocation table">
            <visibleWhen>
               <with variable="activeEditorId">
                  <equals value="org.eclipse.papyrus.core.papyrusEditor">
                  </equals>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution allPopups="false" locationURI="menu:org.eclipse.papyrus.table.ui.menu.tables">
       <command commandId="org.eclipse.papyrus.sysml.table.allocation.create.table.command" icon="icons/allocation_table.png" id="org.eclipse.papyrus.table.ui.menu.tables.allocation.table" style="push" tooltip="Create a new SysML Allocation table">
            <visibleWhen>
               <with variable="activeEditorId">
                  <equals value="org.eclipse.papyrus.core.papyrusEditor">
                  </equals>
               </with>
            </visibleWhen>
         </command>
         </menuContribution>
   </extension>
   <extension point="org.eclipse.ui.commands">
      <command categoryId="org.eclipse.papyrus.editor.category" description="Create a new SysML Allocation table" id="org.eclipse.papyrus.sysml.table.allocation.create.table.command" name="SysML &amp;Allocation Table">
      </command>
   </extension>
   <extension point="org.eclipse.ui.handlers">
      <handler class="org.eclipse.papyrus.sysml.table.allocation.CreateAllocationTableCommand" commandId="org.eclipse.papyrus.sysml.table.allocation.create.table.command">
         <activeWhen>
            <and>
               <with variable="selection">
                  <test forcePluginActivation="true" property="org.eclipse.papyrus.sysml.table.allocation.tester.isAppliedAllocations" value="true">
                  </test>
               </with>
            </and>
         </activeWhen>
      </handler>
   </extension>
   <extension point="org.eclipse.emf.facet.infra.query.registration">
      <modelqueryset file="resources/allocate.querySet"/>
   </extension>
   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester class="org.eclipse.papyrus.sysml.table.allocation.tester.AllocationPropertyTester" id="org.eclipse.papyrus.sysml.table.allocation.tester" namespace="org.eclipse.papyrus.sysml.table.allocation.tester" properties="isAppliedAllocations" type="org.eclipse.jface.viewers.IStructuredSelection">
      </propertyTester>
   </extension>
   <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
      <browserCustomization file="resources/table_SysML_Allocation_showOnlyClientAndSupplier.uiCustom"/>
   </extension>
</plugin>

Back to the top