Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: f2a731c5d3132f04a6d0bd9097041ff32289c69d (plain) (tree)
1
2

                                      





















                                                                                                                                                                                                                                                                                                                           



















                                                                                                                                                                    
                     





                                                                                              
               
 
         
<?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