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 [StopAction2EditPart.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StopAction2EditPart0%   (0/1)0%   (0/20)0%   (0/723)0%   (0/251)
StopAction2EditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
access$0 (StopAction2EditPart): 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 (): StopAction2EditPart$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 StopAction2EditPart$10%   (0/1)0%   (0/4)0%   (0/22)0%   (0/9)
StopAction2EditPart$1 (StopAction2EditPart): 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 StopAction2EditPart$20%   (0/1)0%   (0/2)0%   (0/13)0%   (0/3)
StopAction2EditPart$2 (StopAction2EditPart, int, int): void 0%   (0/1)0%   (0/8)0%   (0/2)
createDefaultAnchor (): ConnectionAnchor 0%   (0/1)0%   (0/5)0%   (0/1)
     
class StopAction2EditPart$StopFigure0%   (0/1)0%   (0/4)0%   (0/87)0%   (0/21)
StopAction2EditPart$StopFigure (StopAction2EditPart): 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.StopAction2ItemSemanticEditPolicy;
37import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
38 
39/**
40 * @generated
41 */
42public class StopAction2EditPart extends ShapeNodeEditPart {
43 
44        /**
45         * @generated
46         */
47        public static final int VISUAL_ID = 3005;
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 StopAction2EditPart(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 StopAction2ItemSemanticEditPolicy());
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                };
132                return result;
133        }
134 
135        /**
136         * @generated
137         */
138        public EditPolicy getPrimaryDragEditPolicy() {
139                EditPolicy result = super.getPrimaryDragEditPolicy();
140                if (result instanceof ResizableEditPolicy) {
141                        ResizableEditPolicy ep = (ResizableEditPolicy) result;
142                        ep.setResizeDirections(PositionConstants.NONE);
143                }
144                return result;
145        }
146 
147        /**
148         * Creates figure for this edit part.
149         * 
150         * Body of this method does not depend on settings in generation model
151         * so you may safely remove <i>generated</i> tag and modify it.
152         * 
153         * @generated
154         */
155        protected NodeFigure createNodeFigure() {
156                NodeFigure figure = createNodePlate();
157                figure.setLayoutManager(new StackLayout());
158                IFigure shape = createNodeShape();
159                figure.add(shape);
160                contentPane = setupContentPane(shape);
161                return figure;
162        }
163 
164        /**
165         * Default implementation treats passed figure as content pane.
166         * Respects layout one may have set for generated figure.
167         * @param nodeShape instance of generated figure class
168         * @generated
169         */
170        protected IFigure setupContentPane(IFigure nodeShape) {
171                return nodeShape; // use nodeShape itself as contentPane
172        }
173 
174        /**
175         * @generated
176         */
177        public IFigure getContentPane() {
178                if (contentPane != null) {
179                        return contentPane;
180                }
181                return super.getContentPane();
182        }
183 
184        /**
185         * @generated
186         */
187        protected void setForegroundColor(Color color) {
188                if (primaryShape != null) {
189                        primaryShape.setForegroundColor(color);
190                }
191        }
192 
193        /**
194         * @generated
195         */
196        protected void setBackgroundColor(Color color) {
197                if (primaryShape != null) {
198                        primaryShape.setBackgroundColor(color);
199                }
200        }
201 
202        /**
203         * @generated
204         */
205        protected void setLineWidth(int width) {
206                if (primaryShape instanceof Shape) {
207                        ((Shape) primaryShape).setLineWidth(width);
208                }
209        }
210 
211        /**
212         * @generated
213         */
214        protected void setLineType(int style) {
215                if (primaryShape instanceof Shape) {
216                        ((Shape) primaryShape).setLineStyle(style);
217                }
218        }
219 
220        /**
221         * @generated
222         */
223        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMARelTypesOnSource() {
224                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
225                types
226                                .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
227                return types;
228        }
229 
230        /**
231         * @generated
232         */
233        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMARelTypesOnSourceAndTarget(
234                        IGraphicalEditPart targetEditPart) {
235                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
236                if (targetEditPart instanceof StartActionEditPart) {
237                        types
238                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
239                }
240                if (targetEditPart instanceof StopActionEditPart) {
241                        types
242                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
243                }
244                if (targetEditPart instanceof ExternalCallActionEditPart) {
245                        types
246                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
247                }
248                if (targetEditPart instanceof EmitEventActionEditPart) {
249                        types
250                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
251                }
252                if (targetEditPart instanceof LoopActionEditPart) {
253                        types
254                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
255                }
256                if (targetEditPart instanceof BranchActionEditPart) {
257                        types
258                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
259                }
260                if (targetEditPart instanceof InternalActionEditPart) {
261                        types
262                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
263                }
264                if (targetEditPart instanceof CollectionIteratorActionEditPart) {
265                        types
266                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
267                }
268                if (targetEditPart instanceof SetVariableActionEditPart) {
269                        types
270                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
271                }
272                if (targetEditPart instanceof AcquireActionEditPart) {
273                        types
274                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
275                }
276                if (targetEditPart instanceof ReleaseActionEditPart) {
277                        types
278                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
279                }
280                if (targetEditPart instanceof ForkActionEditPart) {
281                        types
282                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
283                }
284                if (targetEditPart instanceof RecoveryActionEditPart) {
285                        types
286                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
287                }
288                if (targetEditPart instanceof StartAction2EditPart) {
289                        types
290                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
291                }
292                if (targetEditPart instanceof de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StopAction2EditPart) {
293                        types
294                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
295                }
296                if (targetEditPart instanceof LoopAction2EditPart) {
297                        types
298                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
299                }
300                if (targetEditPart instanceof InternalAction2EditPart) {
301                        types
302                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
303                }
304                if (targetEditPart instanceof BranchAction2EditPart) {
305                        types
306                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
307                }
308                if (targetEditPart instanceof ExternalCallAction2EditPart) {
309                        types
310                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
311                }
312                if (targetEditPart instanceof EmitEventAction2EditPart) {
313                        types
314                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
315                }
316                if (targetEditPart instanceof AcquireAction2EditPart) {
317                        types
318                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
319                }
320                if (targetEditPart instanceof ReleaseAction2EditPart) {
321                        types
322                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
323                }
324                if (targetEditPart instanceof ForkAction2EditPart) {
325                        types
326                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
327                }
328                if (targetEditPart instanceof CollectionIteratorAction2EditPart) {
329                        types
330                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
331                }
332                if (targetEditPart instanceof RecoveryAction2EditPart) {
333                        types
334                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
335                }
336                if (targetEditPart instanceof SetVariableAction2EditPart) {
337                        types
338                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
339                }
340                return types;
341        }
342 
343        /**
344         * @generated
345         */
346        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMATypesForTarget(
347                        IElementType relationshipType) {
348                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
349                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
350                        types.add(PalladioComponentModelElementTypes.StartAction_2001);
351                }
352                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
353                        types.add(PalladioComponentModelElementTypes.StopAction_2002);
354                }
355                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
356                        types
357                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_2003);
358                }
359                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
360                        types.add(PalladioComponentModelElementTypes.EmitEventAction_2013);
361                }
362                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
363                        types.add(PalladioComponentModelElementTypes.LoopAction_2004);
364                }
365                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
366                        types.add(PalladioComponentModelElementTypes.BranchAction_2005);
367                }
368                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
369                        types.add(PalladioComponentModelElementTypes.InternalAction_2006);
370                }
371                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
372                        types
373                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_2007);
374                }
375                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
376                        types
377                                        .add(PalladioComponentModelElementTypes.SetVariableAction_2008);
378                }
379                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
380                        types.add(PalladioComponentModelElementTypes.AcquireAction_2012);
381                }
382                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
383                        types.add(PalladioComponentModelElementTypes.ReleaseAction_2010);
384                }
385                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
386                        types.add(PalladioComponentModelElementTypes.ForkAction_2011);
387                }
388                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
389                        types.add(PalladioComponentModelElementTypes.RecoveryAction_2016);
390                }
391                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
392                        types.add(PalladioComponentModelElementTypes.StartAction_3004);
393                }
394                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
395                        types.add(PalladioComponentModelElementTypes.StopAction_3005);
396                }
397                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
398                        types.add(PalladioComponentModelElementTypes.LoopAction_3006);
399                }
400                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
401                        types.add(PalladioComponentModelElementTypes.InternalAction_3007);
402                }
403                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
404                        types.add(PalladioComponentModelElementTypes.BranchAction_3009);
405                }
406                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
407                        types
408                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_3012);
409                }
410                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
411                        types.add(PalladioComponentModelElementTypes.EmitEventAction_3046);
412                }
413                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
414                        types.add(PalladioComponentModelElementTypes.AcquireAction_3026);
415                }
416                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
417                        types.add(PalladioComponentModelElementTypes.ReleaseAction_3020);
418                }
419                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
420                        types.add(PalladioComponentModelElementTypes.ForkAction_3023);
421                }
422                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
423                        types
424                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_3013);
425                }
426                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
427                        types.add(PalladioComponentModelElementTypes.RecoveryAction_3057);
428                }
429                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
430                        types
431                                        .add(PalladioComponentModelElementTypes.SetVariableAction_3024);
432                }
433                return types;
434        }
435 
436        /**
437         * @generated
438         */
439        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMARelTypesOnTarget() {
440                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
441                types
442                                .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
443                return types;
444        }
445 
446        /**
447         * @generated
448         */
449        public List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/getMATypesForSource(
450                        IElementType relationshipType) {
451                List/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/types = new ArrayList/*<org.eclipse.gmf.runtime.emf.type.core.IElementType>*/();
452                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
453                        types.add(PalladioComponentModelElementTypes.StartAction_2001);
454                }
455                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
456                        types.add(PalladioComponentModelElementTypes.StopAction_2002);
457                }
458                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
459                        types
460                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_2003);
461                }
462                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
463                        types.add(PalladioComponentModelElementTypes.EmitEventAction_2013);
464                }
465                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
466                        types.add(PalladioComponentModelElementTypes.LoopAction_2004);
467                }
468                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
469                        types.add(PalladioComponentModelElementTypes.BranchAction_2005);
470                }
471                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
472                        types.add(PalladioComponentModelElementTypes.InternalAction_2006);
473                }
474                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
475                        types
476                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_2007);
477                }
478                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
479                        types
480                                        .add(PalladioComponentModelElementTypes.SetVariableAction_2008);
481                }
482                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
483                        types.add(PalladioComponentModelElementTypes.AcquireAction_2012);
484                }
485                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
486                        types.add(PalladioComponentModelElementTypes.ReleaseAction_2010);
487                }
488                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
489                        types.add(PalladioComponentModelElementTypes.ForkAction_2011);
490                }
491                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
492                        types.add(PalladioComponentModelElementTypes.RecoveryAction_2016);
493                }
494                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
495                        types.add(PalladioComponentModelElementTypes.StartAction_3004);
496                }
497                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
498                        types.add(PalladioComponentModelElementTypes.StopAction_3005);
499                }
500                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
501                        types.add(PalladioComponentModelElementTypes.LoopAction_3006);
502                }
503                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
504                        types.add(PalladioComponentModelElementTypes.InternalAction_3007);
505                }
506                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
507                        types.add(PalladioComponentModelElementTypes.BranchAction_3009);
508                }
509                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
510                        types
511                                        .add(PalladioComponentModelElementTypes.ExternalCallAction_3012);
512                }
513                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
514                        types.add(PalladioComponentModelElementTypes.EmitEventAction_3046);
515                }
516                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
517                        types.add(PalladioComponentModelElementTypes.AcquireAction_3026);
518                }
519                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
520                        types.add(PalladioComponentModelElementTypes.ReleaseAction_3020);
521                }
522                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
523                        types.add(PalladioComponentModelElementTypes.ForkAction_3023);
524                }
525                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
526                        types
527                                        .add(PalladioComponentModelElementTypes.CollectionIteratorAction_3013);
528                }
529                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
530                        types.add(PalladioComponentModelElementTypes.RecoveryAction_3057);
531                }
532                if (relationshipType == PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001) {
533                        types
534                                        .add(PalladioComponentModelElementTypes.SetVariableAction_3024);
535                }
536                return types;
537        }
538 
539        /**
540         * @generated
541         */
542        public class StopFigure extends Ellipse {
543                /**
544                 * @generated
545                 */
546                public StopFigure() {
547                        this.setLayoutManager(new StackLayout());
548                        this.setLineWidth(1);
549                        this.setPreferredSize(new Dimension(getMapMode().DPtoLP(30),
550                                        getMapMode().DPtoLP(30)));
551                        this.setMinimumSize(new Dimension(getMapMode().DPtoLP(0),
552                                        getMapMode().DPtoLP(0)));
553 
554                        this.setBorder(new MarginBorder(getMapMode().DPtoLP(3),
555                                        getMapMode().DPtoLP(3), getMapMode().DPtoLP(3),
556                                        getMapMode().DPtoLP(3)));
557                        createContents();
558                }
559 
560                /**
561                 * @generated
562                 */
563                private void createContents() {
564 
565                        Ellipse innerCircle0 = new Ellipse();
566                        innerCircle0.setLineWidth(1);
567                        innerCircle0.setBackgroundColor(ColorConstants.black);
568 
569                        this.add(innerCircle0);
570 
571                }
572 
573                /**
574                 * @generated
575                 */
576                private boolean myUseLocalCoordinates = false;
577 
578                /**
579                 * @generated
580                 */
581                protected boolean useLocalCoordinates() {
582                        return myUseLocalCoordinates;
583                }
584 
585                /**
586                 * @generated
587                 */
588                protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
589                        myUseLocalCoordinates = useLocalCoordinates;
590                }
591 
592        }
593 
594}

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