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

nameclass, %method, %block, %line, %
StartActionEditPart.java0%   (0/4)0%   (0/29)0%   (0/806)0%   (0/271)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StartActionEditPart0%   (0/1)0%   (0/20)0%   (0/723)0%   (0/251)
StartActionEditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
access$0 (StartActionEditPart): 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 (): StartActionEditPart$StartFigure 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 StartActionEditPart$10%   (0/1)0%   (0/4)0%   (0/22)0%   (0/9)
StartActionEditPart$1 (StartActionEditPart): 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 StartActionEditPart$20%   (0/1)0%   (0/2)0%   (0/13)0%   (0/3)
StartActionEditPart$2 (StartActionEditPart, int, int): void 0%   (0/1)0%   (0/8)0%   (0/2)
createDefaultAnchor (): ConnectionAnchor 0%   (0/1)0%   (0/5)0%   (0/1)
     
class StartActionEditPart$StartFigure0%   (0/1)0%   (0/3)0%   (0/48)0%   (0/12)
StartActionEditPart$StartFigure (StartActionEditPart): void 0%   (0/1)0%   (0/41)0%   (0/9)
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.PositionConstants;
15import org.eclipse.draw2d.Shape;
16import org.eclipse.draw2d.StackLayout;
17import org.eclipse.draw2d.geometry.Dimension;
18import org.eclipse.gef.EditPart;
19import org.eclipse.gef.EditPolicy;
20import org.eclipse.gef.Request;
21import org.eclipse.gef.commands.Command;
22import org.eclipse.gef.editpolicies.LayoutEditPolicy;
23import org.eclipse.gef.editpolicies.NonResizableEditPolicy;
24import org.eclipse.gef.editpolicies.ResizableEditPolicy;
25import org.eclipse.gef.requests.CreateRequest;
26import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
27import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart;
28import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
29import org.eclipse.gmf.runtime.emf.type.core.IElementType;
30import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
31import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
32import org.eclipse.gmf.runtime.notation.View;
33import org.eclipse.swt.graphics.Color;
34 
35import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.StartActionItemSemanticEditPolicy;
36import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
37 
38/**
39 * @generated
40 */
41public class StartActionEditPart extends ShapeNodeEditPart {
42 
43        /**
44         * @generated
45         */
46        public static final int VISUAL_ID = 2001;
47 
48        /**
49         * @generated
50         */
51        protected IFigure contentPane;
52 
53        /**
54         * @generated
55         */
56        protected IFigure primaryShape;
57 
58        /**
59         * @generated
60         */
61        public StartActionEditPart(View view) {
62                super(view);
63        }
64 
65        /**
66         * @generated
67         */
68        protected void createDefaultEditPolicies() {
69                super.createDefaultEditPolicies();
70                installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
71                                new StartActionItemSemanticEditPolicy());
72                installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
73                // XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable editpolicies
74                // removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
75        }
76 
77        /**
78         * @generated
79         */
80        protected LayoutEditPolicy createLayoutEditPolicy() {
81                LayoutEditPolicy lep = new LayoutEditPolicy() {
82 
83                        protected EditPolicy createChildEditPolicy(EditPart child) {
84                                EditPolicy result = child
85                                                .getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
86                                if (result == null) {
87                                        result = new NonResizableEditPolicy();
88                                }
89                                return result;
90                        }
91 
92                        protected Command getMoveChildrenCommand(Request request) {
93                                return null;
94                        }
95 
96                        protected Command getCreateCommand(CreateRequest request) {
97                                return null;
98                        }
99                };
100                return lep;
101        }
102 
103        /**
104         * @generated
105         */
106        protected IFigure createNodeShape() {
107                StartFigure figure = new StartFigure();
108                return primaryShape = figure;
109        }
110 
111        /**
112         * @generated
113         */
114        public StartFigure getPrimaryShape() {
115                return (StartFigure) primaryShape;
116        }
117 
118        /**
119         * @generated not
120         */
121        protected NodeFigure createNodePlate() {
122                DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode()
123                                .DPtoLP(20), getMapMode().DPtoLP(20)) {
124 
125                        @Override
126                        protected ConnectionAnchor createDefaultAnchor() {
127                                return new EllipseAnchor(this);
128                        }
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 de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StartActionEditPart) {
236                        types
237                                        .add(PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001);
238                }
239                if (targetEditPart instanceof 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 StartFigure extends Ellipse {
542                /**
543                 * @generated
544                 */
545                public StartFigure() {
546                        this.setLineWidth(1);
547                        this.setBackgroundColor(ColorConstants.black);
548                        this.setPreferredSize(new Dimension(getMapMode().DPtoLP(20),
549                                        getMapMode().DPtoLP(20)));
550                        this.setMinimumSize(new Dimension(getMapMode().DPtoLP(0),
551                                        getMapMode().DPtoLP(0)));
552                }
553 
554                /**
555                 * @generated
556                 */
557                private boolean myUseLocalCoordinates = false;
558 
559                /**
560                 * @generated
561                 */
562                protected boolean useLocalCoordinates() {
563                        return myUseLocalCoordinates;
564                }
565 
566                /**
567                 * @generated
568                 */
569                protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
570                        myUseLocalCoordinates = useLocalCoordinates;
571                }
572 
573        }
574}

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