Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f2a731c5d3132f04a6d0bd9097041ff32289c69d (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<extension point="org.eclipse.papyrus.infra.core.papyrusDiagram">
	<diagramCategory class="org.eclipse.papyrus.sysml.diagram.common.commands.CreateSysMLModelCommand" description="SysML diagrams" icon="icons/category_sysml.gif" id="sysml" label="SysML">
	</diagramCategory>      
</extension>
   
<extension point="org.eclipse.core.expressions.propertyTesters">
	<propertyTester class="org.eclipse.papyrus.sysml.diagram.common.utils.SysMLSelectionTester" id="org.eclipse.papyrus.SysMLSelectionTester" namespace="org.eclipse.papyrus.SysMLSelectionTester" properties="isSysMLModel, isSysMLRequirementsModel, isSysMLBlocksModel" type="org.eclipse.jface.viewers.ISelection">
	</propertyTester>
</extension>

<extension point="org.eclipse.core.expressions.definitions">
	<definition id="org.eclipse.papyrus.sysml.diagram.common.IsPapyrusActiveWithSysML">
		<and>
			<with variable="activeEditorId">
				<equals value="org.eclipse.papyrus.infra.core.papyrusEditor"></equals>
			</with>
			<with variable="selection">
				<test forcePluginActivation="true" property="org.eclipse.papyrus.SysMLSelectionTester.isSysMLModel" value="true"></test>
			</with>
		</and>
	</definition>
	<definition id="org.eclipse.papyrus.sysml.diagram.common.IsPapyrusActiveWithSysMLBlocks">
		<and>
			<with variable="activeEditorId">
				<equals value="org.eclipse.papyrus.infra.core.papyrusEditor"></equals>
			</with>
			<with variable="selection">
				<test forcePluginActivation="true" property="org.eclipse.papyrus.SysMLSelectionTester.isSysMLBlocksModel" value="true"></test>
			</with>
		</and>
	</definition>
	<definition id="org.eclipse.papyrus.sysml.diagram.common.IsPapyrusActiveWithSysMLRequirements">
		<and>
			<with variable="activeEditorId">
				<equals value="org.eclipse.papyrus.infra.core.papyrusEditor"></equals>
			</with>
			<with variable="selection">
				<test forcePluginActivation="true" property="org.eclipse.papyrus.SysMLSelectionTester.isSysMLRequirementsModel" value="true"></test>
			</with>
		</and>
	</definition>
</extension>
<extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.pasteStrategy">
   <strategy
         strategy="org.eclipse.papyrus.sysml.diagram.common.strategy.paste.PartPasteStrategy">
   </strategy>
</extension>   

</plugin>

Back to the top