Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 643ec927dd0dee91841cd73ef35849fc0ab8c1d7 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
 Copyright (c) 2015 CEA.
 
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html
 
 Contributors:
   CEA - Initial API and implementation
   Benoit Maggi benoit.maggi@cea.fr
   
-->
<paletteDefinition>
	<content>
	<!-- ASSOCIATIONS -->
			
	<drawer	id="org.eclipse.papyrus.sysml.diagram.blockdefinition.SYSML_BlockDefinition__Associations" 
		iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"  name="Associations">
			
		<aspectTool description="Create a new Association" id="blockdefinition_associations.tool.association_none" name="Association" refToolId="clazz.tool.association"/>
			<aspectTool description="Create a new DirectedAssociation" id="blockdefinition_associations.tool.association_none_directed"
			iconpath="platform:/plugin/org.eclipse.papyrus.uml.service.types/icons/Association_none_directed.gif"
				name="DirectedAssociation" refToolId="clazz.tool.association">
			</aspectTool>
			
			<aspectTool description="Create a new Composition" id="blockdefinition_associations.tool.association_composite"
			iconpath="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association_composite.gif"
				name="Composition" refToolId="clazz.tool.association">
			</aspectTool>

			<aspectTool description="Create a new DirectedComposition" id="blockdefinition_associations.tool.association_composite_directed"
			iconpath="platform:/plugin/org.eclipse.papyrus.uml.service.types/icons/Association_composite_directed.gif"
				name="DirectedComposition" refToolId="clazz.tool.association">
			</aspectTool>
	
			<aspectTool description="Create a new Aggregation" id="blockdefinition_associations.tool.association_shared"
			iconpath="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association_shared.gif"
				name="Aggregation" refToolId="clazz.tool.association">
			</aspectTool>

			<aspectTool description="Create a new DirectedAggregation" id="blockdefinition_associations.tool.association_shared_directed"
			iconpath="platform:/plugin/org.eclipse.papyrus.uml.service.types/icons/Association_shared_directed.gif"
				name="DirectedAggregation" refToolId="clazz.tool.association">
			</aspectTool>							
	</drawer>

	<!-- MODEL ELEMENTS -->		
	<drawer	id="org.eclipse.papyrus.sysml.diagram.blockdefinition.SYSML_BlockDefinition__ModelElements"
		iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif" name="ModelElements">
			
			<aspectTool description="Create a new Package" id="blockdefinition_modelelements.tool.package" name="Package" refToolId="clazz.tool.package"/>
			<aspectTool description="Create a new Actor" id="blockdefinition_modelelements.tool.actor"
				name="Actor" refToolId="usecase.tool.actor">
			</aspectTool>
			<aspectTool  id="blockdefinition_modelelements.tool.block" name="Block"
				 refToolId="clazz.tool.class" description="Create a new Block">
				<postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
					<stereotypesToApply>
						<stereotype stereotypeName="SysML::Blocks::Block" />
					</stereotypesToApply>
				</postAction>				
			</aspectTool>
	
			<aspectTool description="Create a new Signal" id="blockdefinition_modelelements.tool.signal" name="Signal" refToolId="clazz.tool.signal"/>
			<aspectTool description="Create a new Operation" id="blockdefinition_modelelements.tool.operation" name="Operation" refToolId="clazz.tool.operation"/>
			<aspectTool description="Create a new Reception" id="blockdefinition_modelelements.tool.reception" name="Reception" refToolId="clazz.tool.reception"/>
			<aspectTool description="Create a new Property" id="blockdefinition_modelelements.tool.property" name="Property" refToolId="clazz.tool.property"/>
			
			<!--
			<aspectTool description="Create a new Part" id="blockdefinition_modelelements.tool.part"
				name="Part" refToolId="blockdefinition.tool.part">
			</aspectTool>
			<aspectTool description="Create a new Reference" id="blockdefinition_modelelements.tool.reference"
				name="Reference" refToolId="blockdefinition.tool.reference">
			</aspectTool>
			<aspectTool description="Create a new ActorPart" id="blockdefinition_modelelements.tool.actorpart"
				name="ActorPart" refToolId="blockdefinition.tool.actorpart">
			</aspectTool>			
			<aspectTool description="Create a new Value" id="blockdefinition_modelelements.tool.value"
				name="Value" refToolId="blockdefinition.tool.value">
			</aspectTool>
			-->
			<aspectTool description="Create a new InstanceSpecification" id="blockdefinition_modelelements.tool.instancespecification" name="InstanceSpecification" refToolId="clazz.tool.instancespecification"/>
			<aspectTool description="Create a new Slot" id="blockdefinition_modelelements.tool.slot" name="Slot" refToolId="clazz.tool.slot"/>
			<aspectTool description="Create a new Dependency" id="blockdefinition_modelelements.tool.dependency" name="Dependency" refToolId="clazz.tool.dependency"/>			
			<aspectTool description="Create a new Generalization" id="blockdefinition_modelelements.tool.generalization" name="Generalization" refToolId="clazz.tool.generalization"/>					
		
		</drawer>	
	
	<drawer	id="org.eclipse.papyrus.sysml.diagram.blockdefinition.SYSML_BlockDefinition__PortAndFlowTools"
	iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif" name="PortAndFlows">
		<!--
			<aspectTool description="Create a new Port" id="blockdefinition_portandflows.tool.port"
				name="Port" refToolId="blockdefinition.tool.port">
			</aspectTool>
			<aspectTool description="Create a new FlowPort" id="blockdefinition_portandflows.tool.flowport"
				name="FlowPort" refToolId="blockdefinition.tool.flowport">
			</aspectTool>			
			<aspectTool description="Create a new FlowSpecification" id="blockdefinition_portandflows.tool.flowspecification"
				name="FlowSpecification" refToolId="blockdefinition.tool.flowspecification">
			</aspectTool>			
			<aspectTool description="Create a new FlowProperty" id="blockdefinition_portandflows.tool.flowproperty"
				name="FlowProperty" refToolId="blockdefinition.tool.flowproperty">
			</aspectTool>
			<aspectTool description="Create a new Interface" id="blockdefinition_portandflows.tool.interface"
				name="Interface" refToolId="blockdefinition.tool.interface">
			</aspectTool>
			<aspectTool description="Create a new InterfaceRealization" id="blockdefinition_portandflows.tool.interfacerealization"
				name="InterfaceRealization" refToolId="blockdefinition.tool.interfacerealization">
			</aspectTool>
			<aspectTool description="Create a new Usage" id="blockdefinition_portandflows.tool.usage" name="Usage" refToolId="blockdefinition.tool.usage">
			</aspectTool>
		-->		
	</drawer>	
				
	<drawer	id="org.eclipse.papyrus.sysml.diagram.blockdefinition.SYSML_BlockDefinition__DataTypeTools"
		iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif" name="DataTypes">
			
		<aspectTool description="Create a new DataType" id="blockdefinition_datatypes.tool.datatype" name="DataType" refToolId="clazz.tool.datatype"/>
			<!--
			<aspectTool description="Create a new ValueType" id="blockdefinition_datatypes.tool.valuetype"
				name="ValueType" refToolId="blockdefinition.tool.valuetype">
			</aspectTool>
			-->
		<aspectTool description="Create a new PrimitiveType" id="blockdefinition_datatypes.tool.primitivetype" name="PrimitiveType" refToolId="clazz.tool.primitivetype"/>				
		<aspectTool description="Create a new Enumeration" id="blockdefinition_datatypes.tool.enumeration" name="Enumeration" refToolId="clazz.tool.enumeration"/>
		<aspectTool description="Create a new EnumerationLiteral" id="blockdefinition_datatypes.tool.enumerationliteral" name="EnumerationLiteral" refToolId="clazz.tool.enumerationliteral"/>
			<!--		
			<aspectTool description="Create a new Dimension" id="blockdefinition_datatypes.tool.dimension"
				name="Dimension" refToolId="blockdefinition.tool.dimension">
			</aspectTool>
			<aspectTool description="Create a new Unit" id="blockdefinition_datatypes.tool.unit"
				name="Unit" refToolId="blockdefinition.tool.unit">
			</aspectTool>	
			-->		
	</drawer>
		
	<drawer id="org.eclipse.papyrus.sysml.diagram.blockdefinition.SYSML_BlockDefinition__ContraintTools" 
		iconpath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif" name="CommentAndConstraints">

		<aspectTool description="Create a new ConstraintBlock" id="blockdefinition_constraints.tool.constraintblock"
				name="ConstraintBlock" refToolId="clazz.tool.class">
				<postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
					<stereotypesToApply>
						<stereotype stereotypeName="SysML::Constraints::ConstraintBlock" />
					</stereotypesToApply>
				</postAction>	
		</aspectTool>
			
		<aspectTool description="Create a new ConstraintProperty" id="blockdefinition_constraints.tool.constraintproperty"
				name="ConstraintProperty" refToolId="clazz.tool.property">
				<postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
					<stereotypesToApply>
						<stereotype stereotypeName="SysML::Constraints::ConstraintProperty" />
					</stereotypesToApply>
				</postAction>				
		</aspectTool>
		<aspectTool description="Create a new Parameter (Property)" id="blockdefinition_constraints.tool.property" name="Parameter" refToolId="clazz.tool.property"/>	
		<aspectTool description="Create a new Constraint" id="blockdefinition_constraints.tool.constraint" name="Constraint" refToolId="clazz.tool.constraint"/>
		<aspectTool description="Create a new Comment" id="blockdefinition_constraints.tool.comment" name="Comment" refToolId="clazz.tool.comment"/>		
		<aspectTool description="Create a new Comment / Constraint link" id="blockdefinition_constraints.tool.comment_constraint_link" name="Comment / Constraint link" refToolId="clazz.tool.contextlink"/>		
	</drawer>
	</content>	
</paletteDefinition>

Back to the top