Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 265e28c1f0cd8ecc43eb313848bbd3bc8904e2b5 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="org.eclipse.papyrus.infra.ui.papyrusDiagram">
      <diagramCategory
            class="org.eclipse.papyrus.soaml.diagram.common.commands.CreateSoamlModelCommand"
            description="SoaML diagrams"
            icon="icons/SoaML_Header_32x32.png"
            id="soaML"
            label="SoaML">
      </diagramCategory>
   </extension>
   <extension
         point="org.eclipse.core.expressions.definitions">
      <definition
            id="org.eclipse.papyrus.soaml.diagram.common.IsPapyrusActiveWithSoaml">
         <and>
            <with
                  variable="activeEditorId">
               <equals
                     value="org.eclipse.papyrus.infra.core.papyrusEditor">
               </equals>
            </with>
            <with
                  variable="selection">
               <test
                     forcePluginActivation="true"
                     property="org.eclipse.papyrus.SoamlSelectionTester.isSoamlModel"
                     value="true">
               </test>
            </with>
         </and>
      </definition>
   </extension>
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.papyrus.soaml.diagram.common.utils.SoamlSelectionTester"
            id="org.eclipse.papyrus.SoamlSelectionTester"
            namespace="org.eclipse.papyrus.SoamlSelectionTester"
            properties="isSoamlModel"
            type="org.eclipse.jface.viewers.ISelection">
      </propertyTester>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.viewpoints.policy.custom">
      <contribution
            file="viewpoints/soaml.configuration"
            original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration">
      </contribution>
   </extension>
   <extension
         point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders">
      <editpolicyProvider
            class="org.eclipse.papyrus.soaml.diagram.common.editpolicy.provider.SoaMLDiagramsEditPolicyProvider">
         <Priority
               name="Low">
         </Priority>
      </editpolicyProvider>
   </extension>

</plugin>

Back to the top