EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.gmf.seff.edit.parts]

COVERAGE SUMMARY FOR SOURCE FILE [StopActionEditPart.java]

nameclass, %method, %block, %line, %
StopActionEditPart.java0%   (0/4)0%   (0/30)0%   (0/845)0%   (0/280)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StopActionEditPart0%   (0/1)0%   (0/20)0%   (0/723)0%   (0/251)
StopActionEditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
access$0 (StopActionEditPart): IMapMode 0%   (0/1)0%   (0/3)0%   (0/1)
createDefaultEditPolicies (): void 0%   (0/1)0%   (0/14)0%   (0/5)
createLayoutEditPolicy (): LayoutEditPolicy 0%   (0/1)0%   (0/7)0%   (0/2)
createNodeFigure (): NodeFigure 0%   (0/1)0%   (0/21)0%   (0/6)
createNodePlate (): NodeFigure 0%   (0/1)0%   (0/15)0%   (0/3)
createNodeShape (): IFigure 0%   (0/1)0%   (0/10)0%   (0/2)
getContentPane (): IFigure 0%   (0/1)0%   (0/9)0%   (0/3)
getMARelTypesOnSource (): List 0%   (0/1)0%   (0/10)0%   (0/4)
getMARelTypesOnSourceAndTarget (IGraphicalEditPart): List 0%   (0/1)0%   (0/188)0%   (0/80)
getMARelTypesOnTarget (): List 0%   (0/1)0%   (0/10)0%   (0/4)
getMATypesForSource (IElementType): List 0%   (0/1)0%   (0/188)0%   (0/60)
getMATypesForTarget (IElementType): List 0%   (0/1)0%   (0/188)0%   (0/60)
getPrimaryDragEditPolicy (): EditPolicy 0%   (0/1)0%   (0/14)0%   (0/5)
getPrimaryShape (): StopActionEditPart$StopFigure 0%   (0/1)0%   (0/4)0%   (0/1)
setBackgroundColor (Color): void 0%   (0/1)0%   (0/8)0%   (0/3)
setForegroundColor (Color): void 0%   (0/1)0%   (0/8)0%   (0/3)
setLineType (int): void 0%   (0/1)0%   (0/10)0%   (0/3)
setLineWidth (int): void 0%   (0/1)0%   (0/10)0%   (0/3)
setupContentPane (IFigure): IFigure 0%   (0/1)0%   (0/2)0%   (0/1)
     
class StopActionEditPart$10%   (0/1)0%   (0/4)0%   (0/22)0%   (0/9)
StopActionEditPart$1 (StopActionEditPart): void 0%   (0/1)0%   (0/6)0%   (0/2)
createChildEditPolicy (EditPart): EditPolicy 0%   (0/1)0%   (0/12)0%   (0/5)
getCreateCommand (CreateRequest): Command 0%   (0/1)0%   (0/2)0%   (0/1)
getMoveChildrenCommand (Request): Command 0%   (0/1)0%   (0/2)0%   (0/1)
     
class StopActionEditPart$20%   (0/1)0%   (0/2)0%   (0/13)0%   (0/3)
StopActionEditPart$2 (StopActionEditPart, int, int): void 0%   (0/1)0%   (0/8)0%   (0/2)
createDefaultAnchor (): ConnectionAnchor 0%   (0/1)0%   (0/5)0%   (0/1)
     
class StopActionEditPart$StopFigure0%   (0/1)0%   (0/4)0%   (0/87)0%   (0/21)
StopActionEditPart$StopFigure (StopActionEditPart): void 0%   (0/1)0%   (0/66)0%   (0/13)
createContents (): void 0%   (0/1)0%   (0/14)0%   (0/5)
setUseLocalCoordinates (boolean): void 0%   (0/1)0%   (0/4)0%   (0/2)
useLocalCoordinates (): boolean 0%   (0/1)0%   (0/3)0%   (0/1)

1/*
2 * Copyright 2006 SDQ Research Group, University of Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.seff.edit.parts;
5 
6import java.util.ArrayList;
7import java.util.List;
8 
9import org.eclipse.draw2d.ColorConstants;
10import org.eclipse.draw2d.ConnectionAnchor;
11import org.eclipse.draw2d.Ellipse;
12import org.eclipse.draw2d.EllipseAnchor;
13import org.eclipse.draw2d.IFigure;
14import org.eclipse.draw2d.MarginBorder;
15import org.eclipse.draw2d.PositionConstants;
16import org.eclipse.draw2d.Shape;
17import org.eclipse.draw2d.StackLayout;
18import org.eclipse.draw2d.geometry.Dimension;
19import org.eclipse.gef.EditPart;
20import org.eclipse.gef.EditPolicy;
21import org.eclipse.gef.Request;
22import org.eclipse.gef.commands.Command;
23import org.eclipse.gef.editpolicies.LayoutEditPolicy;
24import org.eclipse.gef.editpolicies.NonResizableEditPolicy;
25import org.eclipse.gef.editpolicies.ResizableEditPolicy;
26import org.eclipse.gef.requests.CreateRequest;
27import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
28import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart;
29import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
30import org.eclipse.gmf.runtime.emf.type.core.IElementType;
31import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
32import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
33import org.eclipse.gmf.runtime.notation.View;
34import org.eclipse.swt.graphics.Color;
35 
36import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.StopActionItemSemanticEditPolicy;
37import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
38 
39/**
40 * @generated
41 */
42public class StopActionEditPart extends ShapeNodeEditPart {
43 
44        /**
45         * @generated
46         */
47        public static final int VISUAL_ID = 2002;
48 
49        /**
50         * @generated
51         */
52        protected IFigure contentPane;
53 
54        /**
55         * @generated
56         */
57        protected IFigure primaryShape;
58 
59        /**
60         * @generated
61         */
62        public StopActionEditPart(View view) {
63                super(view);
64        }
65 
66        /**
67         * @generated
68         */
69        protected void createDefaultEditPolicies() {
70                super.createDefaultEditPolicies();
71                installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
72                                new StopActionItemSemanticEditPolicy());
73                installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
74                // XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable editpolicies
75                // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
76        }
77 
78        /**
79         * @generated
80         */
81        protected LayoutEditPolicy createLayoutEditPolicy() {
82                LayoutEditPolicy lep = new LayoutEditPolicy() {
83 
84                        protected EditPolicy createChildEditPolicy(EditPart child) {
85                                EditPolicy result = child
86                                                .getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
87                                if (result == null) {
88                                        result = new NonResizableEditPolicy();
89                                }
90                                return result;
91                        }
92 
93                        protected Command getMoveChildrenCommand(Request request) {
94                                return null;
95                        }
96 
97                        protected Command getCreateCommand(CreateRequest request) {
98                                return null;
99                        }
100                };
101                return lep;
102        }
103 
104        /**
105         * @generated
106         */
107        protected IFigure createNodeShape() {
108                StopFigure figure = new StopFigure();
109                return primaryShape = figure;
110        }
111 
112        /**
113         * @generated
114         */
115        public StopFigure getPrimaryShape() {
116                return (StopFigure) primaryShape;
117        }
118 
119        /**
120         * @generated not
121         */
122        protected NodeFigure createNodePlate() {
123                DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode()
124                                .DPtoLP(30), getMapMode().DPtoLP(20)) {
125 
126                        @Override
127                        protected ConnectionAnchor createDefaultAnchor() {
128                                return new EllipseAnchor(this);
129                        }
130                };
131                return result;
132        }
133 
134        /**
135         * @generated
136         */
137        public EditPolicy getPrimaryDragEditPolicy() {
138                EditPolicy result = super.getPrimaryDragEditPolicy();
139                if (result instanceof ResizableEditPolicy) {
140                        ResizableEditPolicy ep = (ResizableEditPolicy) result;
141                        ep.setResizeDirections(PositionConstants.NONE);
142                }
143                return result;
144        }
145 
146        /**
147         * Creates figure for this edit part.
148         * 
149         * Body of this method does not depend on settings in generation model
150         * so you may safely remove <i>generated</i> tag and modify it.
151         * 
152         * @generated
153         */
154        protected NodeFigure createNodeFigure() {
155                NodeFigure figure = createNodePlate();
156                figure.setLayoutManager(new StackLayout());
157                IFigure shape = createNodeShape();
158                figure.add(shape);
159                contentPane = setupContentPane(shape);
160                return figure;
161        }
162 
163        /**
164         * Default implementation treats passed figure as content pane.
165         * Respects layout one may have set for generated figure.
166         * @param nodeShape instance of generated figure class
167         * @generated
168         */
169        protected IFigure setupContentPane(IFigure nodeShape) {
170                return nodeShape; // use nodeShape itself as contentPane
171        }
172 
173        /**
174         * @generated
175         */
176        public IFigure getContentPane() {
177                if (contentPane != null) {
178                        return contentPane;
179                }
180                return super.getContentPane();
181        }
182 
183        /**
184         * @generated
185         */
186        protected void setForegroundColor(Color color) {
187                if (primaryShape != null) {
188                        primaryShape.setForegroundColor(color);
189                }
190        }
191 
192        /**
193         * @generated
194         */
195        protected void setBackgroundColor(Color color) {
196                if (primaryShape != null) {
197                        primaryShape.setBackgroundColor(color);
198                }
199        }
200 
201        /**
202         * @generated
203         */
204        protected void setLineWidth(int width) {
205                if (primaryShape instanceof Shape) {
206                        ((Shape) primaryShape).setLineWidth(width);
207                }
208        }
209 
210        /**
211         * @generated
212         */
213        protected void setLineType(int style) {
214                if (primaryShape instanceof Shape) {
215                        ((Shape) primaryShape).setLineStyle(style);
216                }
217        }
218 
219        /**
220         * @generated
221         */
222        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMARelTypesOnSource() {
223                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
224                types
225                                .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
226                return types;
227        }
228 
229        /**
230         * @generated
231         */
232        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMARelTypesOnSourceAndTarget(
233                        IGraphicalEditPart targetEditPart) {
234                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
235                if (targetEditPart instanceof StartActionEditPart) {
236                        types
237                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
238                }
239                if (targetEditPart instanceof de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StopActionEditPart) {
240                        types
241                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
242                }
243                if (targetEditPart instanceof ExternalCallActionEditPart) {
244                        types
245                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
246                }
247                if (targetEditPart instanceof EmitEventActionEditPart) {
248                        types
249                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
250                }
251                if (targetEditPart instanceof LoopActionEditPart) {
252                        types
253                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
254                }
255                if (targetEditPart instanceof BranchActionEditPart) {
256                        types
257                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
258                }
259                if (targetEditPart instanceof InternalActionEditPart) {
260                        types
261                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
262                }
263                if (targetEditPart instanceof CollectionIteratorActionEditPart) {
264                        types
265                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
266                }
267                if (targetEditPart instanceof SetVariableActionEditPart) {
268                        types
269                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
270                }
271                if (targetEditPart instanceof AcquireActionEditPart) {
272                        types
273                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
274                }
275                if (targetEditPart instanceof ReleaseActionEditPart) {
276                        types
277                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
278                }
279                if (targetEditPart instanceof ForkActionEditPart) {
280                        types
281                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
282                }
283                if (targetEditPart instanceof RecoveryActionEditPart) {
284                        types
285                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
286                }
287                if (targetEditPart instanceof StartAction2EditPart) {
288                        types
289                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
290                }
291                if (targetEditPart instanceof StopAction2EditPart) {
292                        types
293                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
294                }
295                if (targetEditPart instanceof LoopAction2EditPart) {
296                        types
297                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
298                }
299                if (targetEditPart instanceof InternalAction2EditPart) {
300                        types
301                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
302                }
303                if (targetEditPart instanceof BranchAction2EditPart) {
304                        types
305                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
306                }
307                if (targetEditPart instanceof ExternalCallAction2EditPart) {
308                        types
309                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
310                }
311                if (targetEditPart instanceof EmitEventAction2EditPart) {
312                        types
313                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
314                }
315                if (targetEditPart instanceof AcquireAction2EditPart) {
316                        types
317                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
318                }
319                if (targetEditPart instanceof ReleaseAction2EditPart) {
320                        types
321                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
322                }
323                if (targetEditPart instanceof ForkAction2EditPart) {
324                        types
325                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
326                }
327                if (targetEditPart instanceof CollectionIteratorAction2EditPart) {
328                        types
329                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
330                }
331                if (targetEditPart instanceof RecoveryAction2EditPart) {
332                        types
333                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
334                }
335                if (targetEditPart instanceof SetVariableAction2EditPart) {
336                        types
337                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
338                }
339                return types;
340        }
341 
342        /**
343         * @generated
344         */
345        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMATypesForTarget(
346                        IElementType relationshipType) {
347                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
348                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
349                        types.add(PalladioComponentModelElementTypes.StartAction_2001);
350                }
351                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
352                        types.add(PalladioComponentModelElementTypes.StopAction_2002);
353                }
354                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
355                        types
356                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_2003);
357                }
358                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
359                        types.add(PalladioComponentModelElementTypes.EmitEventAction_2013);
360                }
361                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
362                        types.add(PalladioComponentModelElementTypes.LoopAction_2004);
363                }
364                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
365                        types.add(PalladioComponentModelElementTypes.BranchAction_2005);
366                }
367                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
368                        types.add(PalladioComponentModelElementTypes.InternalAction_2006);
369                }
370                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
371                        types
372                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_2007);
373                }
374                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
375                        types
376                                        .add(PalladioComponentModelElementTypes.SetVariableAction_2008);
377                }
378                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
379                        types.add(PalladioComponentModelElementTypes.AcquireAction_2012);
380                }
381                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
382                        types.add(PalladioComponentModelElementTypes.ReleaseAction_2010);
383                }
384                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
385                        types.add(PalladioComponentModelElementTypes.ForkAction_2011);
386                }
387                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
388                        types.add(PalladioComponentModelElementTypes.RecoveryAction_2016);
389                }
390                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
391                        types.add(PalladioComponentModelElementTypes.StartAction_3004);
392                }
393                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
394                        types.add(PalladioComponentModelElementTypes.StopAction_3005);
395                }
396                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
397                        types.add(PalladioComponentModelElementTypes.LoopAction_3006);
398                }
399                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
400                        types.add(PalladioComponentModelElementTypes.InternalAction_3007);
401                }
402                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
403                        types.add(PalladioComponentModelElementTypes.BranchAction_3009);
404                }
405                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
406                        types
407                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_3012);
408                }
409                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
410                        types.add(PalladioComponentModelElementTypes.EmitEventAction_3046);
411                }
412                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
413                        types.add(PalladioComponentModelElementTypes.AcquireAction_3026);
414                }
415                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
416                        types.add(PalladioComponentModelElementTypes.ReleaseAction_3020);
417                }
418                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
419                        types.add(PalladioComponentModelElementTypes.ForkAction_3023);
420                }
421                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
422                        types
423                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_3013);
424                }
425                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
426                        types.add(PalladioComponentModelElementTypes.RecoveryAction_3057);
427                }
428                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
429                        types
430                                        .add(PalladioComponentModelElementTypes.SetVariableAction_3024);
431                }
432                return types;
433        }
434 
435        /**
436         * @generated
437         */
438        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMARelTypesOnTarget() {
439                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
440                types
441                                .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
442                return types;
443        }
444 
445        /**
446         * @generated
447         */
448        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMATypesForSource(
449                        IElementType relationshipType) {
450                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
451                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
452                        types.add(PalladioComponentModelElementTypes.StartAction_2001);
453                }
454                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
455                        types.add(PalladioComponentModelElementTypes.StopAction_2002);
456                }
457                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
458                        types
459                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_2003);
460                }
461                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
462                        types.add(PalladioComponentModelElementTypes.EmitEventAction_2013);
463                }
464                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
465                        types.add(PalladioComponentModelElementTypes.LoopAction_2004);
466                }
467                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
468                        types.add(PalladioComponentModelElementTypes.BranchAction_2005);
469                }
470                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
471                        types.add(PalladioComponentModelElementTypes.InternalAction_2006);
472                }
473                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
474                        types
475                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_2007);
476                }
477                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
478                        types
479                                        .add(PalladioComponentModelElementTypes.SetVariableAction_2008);
480                }
481                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
482                        types.add(PalladioComponentModelElementTypes.AcquireAction_2012);
483                }
484                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
485                        types.add(PalladioComponentModelElementTypes.ReleaseAction_2010);
486                }
487                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
488                        types.add(PalladioComponentModelElementTypes.ForkAction_2011);
489                }
490                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
491                        types.add(PalladioComponentModelElementTypes.RecoveryAction_2016);
492                }
493                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
494                        types.add(PalladioComponentModelElementTypes.StartAction_3004);
495                }
496                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
497                        types.add(PalladioComponentModelElementTypes.StopAction_3005);
498                }
499                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
500                        types.add(PalladioComponentModelElementTypes.LoopAction_3006);
501                }
502                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
503                        types.add(PalladioComponentModelElementTypes.InternalAction_3007);
504                }
505                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
506                        types.add(PalladioComponentModelElementTypes.BranchAction_3009);
507                }
508                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
509                        types
510                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_3012);
511                }
512                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
513                        types.add(PalladioComponentModelElementTypes.EmitEventAction_3046);
514                }
515                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
516                        types.add(PalladioComponentModelElementTypes.AcquireAction_3026);
517                }
518                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
519                        types.add(PalladioComponentModelElementTypes.ReleaseAction_3020);
520                }
521                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
522                        types.add(PalladioComponentModelElementTypes.ForkAction_3023);
523                }
524                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
525                        types
526                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_3013);
527                }
528                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
529                        types.add(PalladioComponentModelElementTypes.RecoveryAction_3057);
530                }
531                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
532                        types
533                                        .add(PalladioComponentModelElementTypes.SetVariableAction_3024);
534                }
535                return types;
536        }
537 
538        /**
539         * @generated
540         */
541        public class StopFigure extends Ellipse {
542                /**
543                 * @generated
544                 */
545                public StopFigure() {
546                        this.setLayoutManager(new StackLayout());
547                        this.setLineWidth(1);
548                        this.setPreferredSize(new Dimension(getMapMode().DPtoLP(30),
549                                        getMapMode().DPtoLP(30)));
550                        this.setMinimumSize(new Dimension(getMapMode().DPtoLP(0),
551                                        getMapMode().DPtoLP(0)));
552 
553                        this.setBorder(new MarginBorder(getMapMode().DPtoLP(3),
554                                        getMapMode().DPtoLP(3), getMapMode().DPtoLP(3),
555                                        getMapMode().DPtoLP(3)));
556                        createContents();
557                }
558 
559                /**
560                 * @generated
561                 */
562                private void createContents() {
563 
564                        Ellipse innerCircle0 = new Ellipse();
565                        innerCircle0.setLineWidth(1);
566                        innerCircle0.setBackgroundColor(ColorConstants.black);
567 
568                        this.add(innerCircle0);
569 
570                }
571 
572                /**
573                 * @generated
574                 */
575                private boolean myUseLocalCoordinates = false;
576 
577                /**
578                 * @generated
579                 */
580                protected boolean useLocalCoordinates() {
581                        return myUseLocalCoordinates;
582                }
583 
584                /**
585                 * @generated
586                 */
587                protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
588                        myUseLocalCoordinates = useLocalCoordinates;
589                }
590 
591        }
592 
593}

[all classes][de.uka.ipd.sdq.pcm.gmf.seff.edit.parts]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov