Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: f2ffe134f4359c65d43ddaa32c1b3400de32fe93 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>


       <extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders">
	      <editpartProvider class="org.eclipse.emf.ecoretools.design.ui.parts.EcoreToolsSpecificEditPartProvider">
	         <Priority name="High"/>
	      </editpartProvider>
	   </extension>
  

   <extension point="org.eclipse.ui.newWizards">
      <wizard
            category="org.eclipse.emf.codegen.ecore.ui.wizardCategory"
            class="org.eclipse.emf.ecoretools.design.ui.wizard.EcoreModelerWizard"
            finalPerspective="org.eclipse.sirius.ui.tools.perspective.modeling"
            icon="icons/full/obj16/EcoreModelingProject.png"
            id="org.eclipse.ecoretools.emf.design.wizardID"
            name="Ecore Modeling Project"
            preferredPerspectives="org.eclipse.sirius.ui.tools.perspective.design,org.eclipse.emf.ecoretools.perspective"
            project="true">
         <description>Create a new Modeling project to specify a domain model using the Ecore Language.</description>
         <selection class="org.eclipse.core.resources.IResource"/>
      </wizard>
   </extension>


   <extension
         point="org.eclipse.sirius.externalJavaAction">
      <javaActions
            actionClass="org.eclipse.emf.ecoretools.design.ui.action.CreateDynamicInstanceAction"
            id="org.eclipse.emf.ecoretools.design.action.createDynamicInstanceActionID">
      </javaActions>
      <javaActions
            actionClass="org.eclipse.emf.ecoretools.design.ui.action.GenerateAllAction"
            id="org.eclipse.emf.ecoretools.design.action.generateAllID">
      </javaActions>
      <javaActions
            actionClass="org.eclipse.emf.ecoretools.design.ui.action.OpenConfirmationDialogAction"
            id="org.eclipse.emf.ecoretools.design.action.openConfirmationDialogID">
      </javaActions>
      <javaActions
            actionClass="org.eclipse.emf.ecoretools.design.ui.action.OpenFileInEditorAction"
            id="org.eclipse.emf.ecoretools.design.action.openFileInEditorID">
      </javaActions>
      <javaActions
            actionClass="org.eclipse.emf.ecoretools.design.ui.action.OpenSelectModelElementAction"
            id="org.eclipse.emf.ecoretools.design.action.openSelectModelElementID">
      </javaActions>
   </extension>
   <!--
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="org.eclipse.emf.ecoretools.design.editor.EcoreEntitiesReadOnlyEditor"
            contributorClass="org.eclipse.sirius.diagram.part.ViewpointDiagramActionBarContributor"
            default="false"
            extensions="ecore"
            icon="icons/full/obj16/EcoreModelFile.gif"
            id="org.eclipse.emf.ecoretools.design.editor.entities"
            matchingStrategy="org.eclipse.emf.ecoretools.design.editor.EcoreEntitiesMatchingStrategy"
            name="Viewpoint Ecore Editor">
      </editor>
   </extension>
   -->   
   
    <!-- Extensions for the "Sirius" and "Modeling" perspectives -->
  <extension point="org.eclipse.ui.perspectiveExtensions">
  	<perspectiveExtension targetID="org.eclipse.sirius.ui.tools.perspective.modeling">
      <newWizardShortcut id="org.eclipse.ecoretools.emf.design.wizardID" />
    </perspectiveExtension>
    <perspectiveExtension targetID="org.eclipse.sirius.ui.tools.perspective.design">
      <newWizardShortcut id="org.eclipse.ecoretools.emf.design.wizardID" />
    </perspectiveExtension>    
    <perspectiveExtension targetID="org.eclipse.emf.ecoretools.perspective">
      <newWizardShortcut id="org.eclipse.ecoretools.emf.design.wizardID" />
    </perspectiveExtension>    
  </extension>
  
  <extension
        point="org.eclipse.ui.navigator.navigatorContent">
     <commonWizard
           menuGroupId="org.eclipse.sirius.category"
           type="new"
           wizardId="org.eclipse.ecoretools.emf.design.wizardID">
        <enablement>
           <with variable="activeWorkbenchWindow.activePerspective">
              <or>
                 <equals value="org.eclipse.sirius.ui.tools.perspective.design"/>
              </or>
           </with>
        </enablement>
     </commonWizard>
  </extension>
    
     <extension point="org.eclipse.ui.popupMenus" id="init-diagram-action">
      <objectContribution
            id="org.eclipse.emf.ecoretools.design.action.InitDiagram"
            nameFilter="*.ecore"
            objectClass="org.eclipse.core.resources.IFile">
         <action
               label="%initDiagramActionLabel"
               class="org.eclipse.emf.ecoretools.design.ui.action.EcoreInitDiagramFileAction"
               menubarPath="additions"
               enablesFor="1"
               id="org.eclipse.emf.ecoretools.diagram.InitDiagramAction">
         </action>
      </objectContribution>
      <objectContribution
            id="org.eclipse.emf.ecoretools.design.action.InitDiagram"
            nameFilter="*.xcore"
            objectClass="org.eclipse.core.resources.IFile">
         <action
               label="%initDiagramActionLabel"
               class="org.eclipse.emf.ecoretools.design.ui.action.EcoreInitDiagramFileAction"
               menubarPath="additions"
               enablesFor="1"
               id="org.eclipse.emf.ecoretools.diagram.InitDiagramAction">
         </action>
      </objectContribution>
   </extension>


</plugin>

Back to the top