Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5faa3d62bbcee0916182dfa2864c9a4d999f65b2 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<plugin>
   <extension-point id="nestedEditor" name="NestedEditor" schema="schema/nestedEditor.exsd"/>
   <extension-point id="initializeView" name="initializeView" schema="schema/initializeView.exsd"/>
   <extension-point id="shapeProvider" name="ShapeProvider" schema="schema/shapeProvider.exsd"/>
   <extension-point id="notationTypesMapping" name="notationTypesMapping" schema="schema/notationTypesMapping.exsd"/>
   <extension-point id="svgPostProcessors" name="svgPostProcessors" schema="schema/svgPostProcessors.exsd"/>

<extension
      point="org.eclipse.ui.handlers">
   <handler
         class="org.eclipse.papyrus.infra.gmfdiag.common.handler.RefreshHandler"
         commandId="org.eclipse.ui.file.refresh">
      <activeWhen>
         <with
               variable="activePartId">
            <equals
                  value="org.eclipse.papyrus.infra.core.papyrusEditor">
            </equals>
         </with>
      </activeWhen>
   </handler>
</extension>
<extension
      point="org.eclipse.ui.menus">
   <menuContribution
         allPopups="false"
         locationURI="toolbar:org.eclipes.papyrus.menu.toolbar">
      <command
            commandId="org.eclipse.ui.file.refresh"
            icon="icons/refresh.gif"
            label="Refresh"
            style="push"
            tooltip="Refresh the current diagram">
         <visibleWhen
               checkEnabled="false">
            <with
                  variable="activeEditorId">
               <equals
                     value="org.eclipse.papyrus.infra.core.papyrusEditor">
               </equals>
            </with>
         </visibleWhen>
      </command>
   </menuContribution>
</extension>
<extension
      point="org.eclipse.ui.preferencePages">
   <page
         category="org.eclipse.papyrus.infra.core.sasheditor.preferences.generalcategory"
         class="org.eclipse.papyrus.infra.gmfdiag.common.preferences.ConnectionToolPreferencePage"
         id="org.eclipse.papyrus.infra.gmfdiag.common.connectionTools"
         name="Connection Tools">
   </page>
</extension>
<extension
      point="org.eclipse.core.runtime.preferences">
   <initializer
         class="org.eclipse.papyrus.infra.gmfdiag.common.preferences.ConnectionToolPreferenceInitializer">
   </initializer>
</extension>
   <extension
         point="org.eclipse.papyrus.infra.core.model">
      <model
            classname="org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel"
            description="Model for notation">
      </model>
  </extension>


   <extension
         point="org.eclipse.emf.ecore.extension_parser">
      <parser
            class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory"
            type="notation">
      </parser>
   </extension>
<extension
         point="org.eclipse.papyrus.infra.core.service">
      <serviceFactory
            classname="org.eclipse.papyrus.infra.gmfdiag.common.undocontext.UndoContextServiceFactory"
            description="The shared IUndoContext used to tag command in the CommandStack"
            id="org.eclipse.core.commands.operations.IUndoContext"
            priority="1"
            startKind="lazy">
         <dependsOn
               serviceKeyRef="org.eclipse.emf.transaction.TransactionalEditingDomain">
         </dependsOn>
      </serviceFactory>
      <service
            classname="org.eclipse.papyrus.infra.gmfdiag.common.DefaultGraphicalEditorSupport"
            description="The default diagram editor support implementation."
            id="org.eclipse.papyrus.infra.gmfdiag.common.IGraphicalEditorSupport"
            priority="1"
            startKind="lazy">
      </service>
   </extension>
<extension
      point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
   <labelProvider
         priority="40"
         provider="org.eclipse.papyrus.infra.gmfdiag.common.providers.NotationFilteredLabelProvider">
   </labelProvider>
</extension>
<extension
      point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders">
   <decoratorProvider
         class="org.eclipse.papyrus.infra.gmfdiag.common.providers.ShapeDecoratorProvider">
      <Priority
            name="Lowest">
      </Priority>
   </decoratorProvider>
</extension>
<extension
      point="org.eclipse.core.runtime.adapters">
   <factory
         adaptableType="org.eclipse.gmf.runtime.notation.Diagram"
         class="org.eclipse.papyrus.infra.gmfdiag.common.adapter.DiagramAdapterFactory">
      <adapter
            type="org.eclipse.papyrus.infra.core.sasheditor.di.contentprovider.IOpenable">
      </adapter>
   </factory>
</extension>

<!-- ElementType bindings for diagram duplication with paste command -->
 <extension
         point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
      <metamodel
            nsURI="http://www.eclipse.org/emf/2002/Ecore">
         <adviceBinding
               class="org.eclipse.papyrus.infra.gmfdiag.common.advice.GMFDiagramDuplicateEditHelperAdvice"
               id="org.eclipse.papyrus.infra.gmfdiag.common.advice.GMFDiagramDuplicateEditHelperAdvice"
               inheritance="none"
               typeId="*">
         </adviceBinding>
      </metamodel>
   </extension>
   
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">

	<!-- Bindings declaration -->
	<binding context="org.eclipse.papyrus.infra.services.edit.TypeContext">
		<advice ref="org.eclipse.papyrus.infra.gmfdiag.common.advice.GMFDiagramDuplicateEditHelperAdvice" />
	</binding>
</extension>
<extension
      point="org.eclipse.core.expressions.propertyTesters">
   <propertyTester
         class="org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramPropertyTester"
         id="org.eclipse.papyrus.infra.gmfdiag.common.diagram.tester"
         namespace="org.eclipse.papyrus.infra.gmfdiag.common.diagram.tester"
         properties="isDiagramEditor"
         type="org.eclipse.jface.viewers.IStructuredSelection">
   </propertyTester>
   <propertyTester
         class="org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramPropertyTester"
         id="org.eclipse.papyrus.infra.gmfdiag.common.diagram.context.tester"
         namespace="org.eclipse.papyrus.infra.gmfdiag.common.diagram.context.tester"
         properties="isGmfDiagramContextActive"
         type="java.util.Collection">
   </propertyTester>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.shapeProvider">
   <shapeProvider
         class="org.eclipse.papyrus.infra.gmfdiag.common.providers.StyleBasedShapeProvider"
         description="Provides shapes based on the applied styles."
         id="org.eclipse.papyrus.infra.gmfdiag.common.providers.StyleBasedShapeProvider"
         name="StyleBasedShapeProvider">
      <Priority
            name="Low"></Priority>
   </shapeProvider>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.notationTypesMapping">
   <mapping
         humanReadableType="Symbol"
         type="compartment_shape_display">
   </mapping>
</extension>
</plugin>

Back to the top