Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 546cb141577162eb5b3b8a8ce404837f8f688c42 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="loadingStrategy" name="loadingStrategy" schema="schema/loadingStrategy.exsd"/>
   <extension-point id="loadingStrategyExtender" name="loadingStrategyExtender" schema="schema/loadingStrategyExtender.exsd"/>
   <extension-point id="currentStrategyChooser" name="Current Strategy Chooser" schema="schema/currentStrategyChooser.exsd"/>
   <extension
         point="org.eclipse.papyrus.core.service">
      <serviceFactory
            classname="org.eclipse.papyrus.core.resourceloading.OnDemandLoadingModelSetServiceFactory"
            description="The service loading Models - Overload the original service."
            id="org.eclipse.papyrus.resource.ModelSet"
            priority="5"
            startKind="startup">
      </serviceFactory>
   </extension>
   <extension
         point="org.eclipse.papyrus.core.resourceloading.loadingStrategy">
      <loadingStrategy
            description="Load all the needed resources"
            id="0"
            strategy="org.eclipse.papyrus.core.resourceloading.strategies.LoadAllResources">
      </loadingStrategy>
      <loadingStrategy
            description="Load the additional resources (profile and pathmap). Submodels can be loaded manually by right-clicking in Model Explorer view."
            id="1"
            strategy="org.eclipse.papyrus.core.resourceloading.strategies.LoadCurrentResource">
      </loadingStrategy>
      <loadingStrategy
            description="Load the additional resources (profile and pathmap) and the needed submodels"
            id="2"
            strategy="org.eclipse.papyrus.core.resourceloading.strategies.LoadControlledResources">
      </loadingStrategy>
      <loadingStrategy
            description="Ask the user if a resource has to be loaded"
            id="3"
            strategy="org.eclipse.papyrus.core.resourceloading.strategies.AskUserStrategy">
      </loadingStrategy>
   </extension>
   <extension
         point="org.eclipse.papyrus.core.papyrusDiagram">
      <editorDiagram
            factoryClass="org.eclipse.papyrus.core.resourceloading.editor.UnloadResourcesEditorFactory">
      </editorDiagram>
   </extension>
   
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
         <!-- the property tester is used to enable/disable handlers for loading/unloading a resource -->
      <propertyTester
            class="org.eclipse.papyrus.core.resourceloading.util.LoadingTester"
            id="org.eclipse.papyrus.core.resourceloading.tester"
            namespace="org.eclipse.papyrus.core.resourceloading.tester"
            properties="isAllLoaded, isAllNotLoaded"
            type="org.eclipse.jface.viewers.IStructuredSelection">
      </propertyTester>
   </extension>

</plugin>

Back to the top