Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette')
-rwxr-xr-xplugins/sysml/sysml14/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagramPalette.xml132
1 files changed, 132 insertions, 0 deletions
diff --git a/plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagramPalette.xml b/plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagramPalette.xml
new file mode 100755
index 00000000000..7075f797dba
--- /dev/null
+++ b/plugins/sysml/sysml14/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagramPalette.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+ <paletteDefinition>
+ <content>
+ <drawer iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif" id="requirement.drawer.nodes" name="Nodes">
+
+ <aspectTool description="Create a new Package"
+ id="requirement.tool.package"
+ name="Package" refToolId="clazz.tool.package">
+ </aspectTool>
+
+ <aspectTool description="Create a new Requirement"
+ id="requirement.tool.class" name="Requirement"
+ refToolId="clazz.tool.class" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/requirements/Requirement.gif">
+ <postAction id="org.eclipse.papyrus.postaction.displayAppliedStereotypePropertiesInCompartmentactionprovider">
+ <propertiesToDisplay>
+ <propertyToDisplay name="SysML::Requirements::Requirement.id"/>
+ <propertyToDisplay name="SysML::Requirements::Requirement.text"/>
+ </propertiesToDisplay>
+ </postAction>
+
+ <postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype stereotypeName="SysML::Requirements::Requirement"/>
+ </stereotypesToApply>
+ </postAction>
+ </aspectTool>
+
+ <aspectTool description="Create a new Problem"
+ id="requirement.tool.comment" name="Problem"
+ refToolId="clazz.tool.comment" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/modelelements/Problem.gif">
+
+ <postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype stereotypeName="SysML::ModelElements::Problem"/>
+ </stereotypesToApply>
+ </postAction>
+
+ </aspectTool>
+
+ <aspectTool description="Create a new Rationale"
+ id="requirement.tool.comment" name="Rationale"
+ refToolId="clazz.tool.comment" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/modelelements/Rationale.gif">
+
+ <postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype stereotypeName="SysML::ModelElements::Rationale"/>
+ </stereotypesToApply>
+ </postAction>
+
+ </aspectTool>
+
+ <aspectTool description="Create a new Comment" id="requirement.tool.comment"
+ name="Comment" refToolId="clazz.tool.comment">
+ </aspectTool>
+
+ <aspectTool description="Create a new Constraint" id="requirement.tool.constraint"
+ name="Constraint" refToolId="clazz.tool.constraint">
+ </aspectTool>
+
+ </drawer>
+
+ <drawer iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif" id="requirement.drawer.edges" name="Edges">
+
+ <aspectTool description="Create a Copy Link"
+ id="requirement.tool.copy" name="Copy"
+ refToolId="clazz.tool.abstraction" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/requirements/Copy.gif">
+ <postAction
+ id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype stereotypeName="SysML::Requirements::Copy" />
+ </stereotypesToApply>
+ </postAction>
+ </aspectTool>
+ <aspectTool description="Create a new Dependency" id="requirement.tool.dependency"
+ name="Dependency" refToolId="clazz.tool.dependency">
+ </aspectTool>
+
+ <aspectTool description="Create a Derive Link"
+ id="requirement.tool.derive" name="Derive"
+ refToolId="clazz.tool.abstraction" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/requirements/DeriveReqt.gif">
+ <postAction
+ id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype
+ stereotypeName="SysML::Requirements::DeriveReqt" />
+ </stereotypesToApply>
+ </postAction>
+ </aspectTool>
+
+ <aspectTool description="Create a Decompose Link"
+ id="requirement.tool.decompose" name="Decompose"
+ refToolId="clazz.tool.containmentlink"/>
+ <aspectTool description="Create a new PackageImport" id="requirement.tool.packageimport"
+ name="PackageImport" refToolId="clazz.tool.packageimport">
+ </aspectTool>
+ <aspectTool description="Create a new Realization" id="requirement.tool.realization"
+ name="Realization" refToolId="clazz.tool.realization">
+ </aspectTool>
+ <aspectTool description="Create a Satisfy Link"
+ id="requirement.tool.satisfy" name="Satisfy"
+ refToolId="clazz.tool.abstraction" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/requirements/Satisfy.gif">
+ <postAction
+ id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype
+ stereotypeName="SysML::Requirements::Satisfy" />
+ </stereotypesToApply>
+ </postAction>
+ </aspectTool>
+
+ <aspectTool description="Create a Verify Link"
+ id="requirement.tool.verify" name="Verify"
+ refToolId="clazz.tool.abstraction" iconpath="platform:/plugin/org.eclipse.papyrus.sysml/icons/requirements/Verify.gif">
+ <postAction
+ id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype
+ stereotypeName="SysML::Requirements::Verify" />
+ </stereotypesToApply>
+ </postAction>
+ </aspectTool>
+
+
+
+ <!-- Attention : The element is added manually, can combine the two links comment and constraint, and therefore is not deleted -->
+ <aspectTool description="Create a new Link" id="package.tool.link"
+ name="Link" refToolId="clazz.tool.link">
+ </aspectTool>
+
+ </drawer>
+ </content>
+</paletteDefinition> \ No newline at end of file

Back to the top