Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9d985cdebacb2b66baa7ce3ce637e5505aa4c3e1 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="readOnlyHandler" name="readOnlyHandler" schema="schema/readOnlyHandler.exsd"/>
   <extension
         point="org.eclipse.papyrus.infra.emf.readonly.readOnlyHandler">
      <readOnlyHandler
            class="org.eclipse.papyrus.infra.emf.readonly.EMFReadOnlyHandler"
            id="org.eclipse.papyrus.infra.emf.readonly.EMFReadOnlyHandler"
            priority="5">
         <affinity
               axis="permission">
         </affinity>
      </readOnlyHandler>
      <readOnlyHandler
            class="org.eclipse.papyrus.infra.emf.readonly.SashModelReadOnlyHandler"
            priority="20">
         <affinity
               axis="discretion">
         </affinity>
      </readOnlyHandler>
   </extension>
<extension
      point="org.eclipse.papyrus.infra.core.transactionalEditingDomainProvider">
   <transactionalEditingDomainProvider
         class="org.eclipse.papyrus.infra.emf.readonly.PapyrusROTransactionalEditingDomainProvider"
         priority="10">
   </transactionalEditingDomainProvider>
</extension>
<extension
      point="org.eclipse.core.expressions.propertyTesters">
   <propertyTester
         class="org.eclipse.papyrus.infra.emf.readonly.ReadOnlyTester"
         id="org.eclipse.papyrus.infra.emf.readonly.tester"
         namespace="org.eclipse.papyrus.infra.emf.readonly.tester"
         properties="isReadOnly,canMakeWritable"
         type="org.eclipse.emf.ecore.EObject">
   </propertyTester>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.commands.operationApprover">
   <operationApprover
         class="org.eclipse.papyrus.infra.emf.readonly.ReadOnlyOneFileApprover"
         priority="10">
   </operationApprover>
</extension>
<extension
      point="org.eclipse.core.runtime.adapters">
   <factory
         adaptableType="org.eclipse.emf.edit.domain.EditingDomain"
         class="org.eclipse.papyrus.infra.emf.readonly.ReadOnlyAdapterFactory">
      <adapter
            type="org.eclipse.papyrus.infra.core.resource.IReadOnlyHandler">
      </adapter>
      <adapter
            type="org.eclipse.papyrus.infra.core.resource.IReadOnlyHandler2">
      </adapter>
   </factory>
</extension>
<!-- commented for Papyrus M4 build -->
<!--   <extension
         point="org.eclipse.papyrus.editor.perspectiveconfiguration">
      <configuration
            perspectiveID="org.eclipse.papyrus.infra.core.perspective">
         <toolbar
               toolbarID="org.eclipse.papyrus.infra.emf.readonly.toolbar">
         </toolbar>
         <command
               commandID="org.eclipse.papyrus.infra.emf.readonly.EnableWriteCommand">
         </command>
      </configuration>
   </extension>
   -->
</plugin>

Back to the top