blob: 5dd7f5546c38c7804a05385a616c8a4e93f2dda3 (
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
|
/******************************************************************************
* Copyright (c) 2007, 2020 Borland Software Corporation, CEA LIST, Artal
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Dmitry Stadnik (Borland) - initial API and implementation
* Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174
*****************************************************************************/
«IMPORT 'http://www.eclipse.org/papyrus/gmf/2020/GenModel'»
«DEFINE extensions FOR gmfgen::GenApplication-»
<extension id="«iD»" point="org.eclipse.core.runtime.applications">
«EXPAND xpt::Common::xmlGeneratedTag»
<application>
<run class="«getQualifiedClassName()»"/>
</application>
</extension>
<extension point="org.eclipse.ui.perspectives" id="rcp-perspective">
«EXPAND xpt::Common::xmlGeneratedTag»
<perspective
id="«perspectiveId»"
name="%perspectiveName"
class="«getPerspectiveQualifiedClassName()»">
</perspective>
</extension>
<extension point="org.eclipse.ui.commands" id="rcp-menu-commands">
«EXPAND xpt::Common::xmlGeneratedTag»
<command
name="%openURIActionLabel"
description="%openURIActionDescription"
categoryId="org.eclipse.ui.category.file"
id="«editorGen.plugin.iD».OpenURICommand"/>
<command
name="%openActionLabel"
description="%openActionDescription"
categoryId="org.eclipse.ui.category.file"
id="«editorGen.plugin.iD».OpenCommand"/>
</extension>
<extension point="org.eclipse.ui.bindings" id="rcp-command-bindings">
«EXPAND xpt::Common::xmlGeneratedTag»
<key
commandId="«editorGen.plugin.iD».OpenURICommand"
sequence="M1+U"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
commandId="«editorGen.plugin.iD».OpenCommand"
sequence="M1+O"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
</extension>
<extension point="org.eclipse.ui.actionSets" id="rcp-actions">
«EXPAND xpt::Common::xmlGeneratedTag»
<actionSet
label="%applicationActionSetLabel"
visible="true"
id="«editorGen.plugin.iD».ActionSet">
<action
label="%newDiagramActionLabel"
class="«getActionBarAdvisorQualifiedClassName()»$NewDiagramAction"
menubarPath="file/new/additions"
id="«editorGen.plugin.iD».NewDiagramAction">
</action>
<action
label="%aboutActionLabel"
class="«getActionBarAdvisorQualifiedClassName()»$AboutAction"
menubarPath="help/additions"
id="«editorGen.plugin.iD».AboutAction">
</action>
<action
label="%openURIActionLabel"
definitionId="«editorGen.plugin.iD».OpenURICommand"
class="«getActionBarAdvisorQualifiedClassName()»$OpenURIAction"
menubarPath="file/additions"
id="«editorGen.plugin.iD».OpenURIAction">
</action>
<action
label="%openActionLabel"
definitionId="«editorGen.plugin.iD».OpenCommand"
class="«getActionBarAdvisorQualifiedClassName()»$OpenAction"
menubarPath="file/additions"
id="«editorGen.plugin.iD».OpenAction">
</action>
</actionSet>
</extension>
«ENDDEFINE»
|