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

COVERAGE SUMMARY FOR SOURCE FILE [PalladioComponentModelNavigatorLabelProvider.java]

nameclass, %method, %block, %line, %
PalladioComponentModelNavigatorLabelProvider.java0%   (0/1)0%   (0/67)0%   (0/2043)0%   (0/698)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PalladioComponentModelNavigatorLabelProvider0%   (0/1)0%   (0/67)0%   (0/2043)0%   (0/698)
<static initializer> 0%   (0/1)0%   (0/11)0%   (0/9)
PalladioComponentModelNavigatorLabelProvider (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getAbstractActionSuccessor_AbstractAction_4001Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getAcquireAction_2012Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getAcquireAction_3026Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getBranchAction_2005Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getBranchAction_3009Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getCollectionIteratorAction_2007Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getCollectionIteratorAction_3013Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getDescription (Object): String 0%   (0/1)0%   (0/2)0%   (0/1)
getEmitEventAction_2013Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getEmitEventAction_3046Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getExternalCallAction_2003Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getExternalCallAction_3012Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getForkAction_2011Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getForkAction_3023Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getForkedBehaviour_3027Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getForkedBehaviour_3039Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getGuardedBranchTransition_3017Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getImage (Object): Image 0%   (0/1)0%   (0/35)0%   (0/10)
getImage (String, IElementType): Image 0%   (0/1)0%   (0/33)0%   (0/12)
getImage (View): Image 0%   (0/1)0%   (0/268)0%   (0/106)
getInfrastructureCall_3053Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getInternalAction_2006Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getInternalAction_3007Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getInternalFailureOccurrenceDescription_3050Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getLoopAction_2004Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getLoopAction_3006Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getParametricResourceDemand_3051Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getProbabilisticBranchTransition_3010Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getRecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviou... 0%   (0/1)0%   (0/2)0%   (0/1)
getRecoveryActionBehaviour_3058Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getRecoveryAction_2016Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getRecoveryAction_3057Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getReleaseAction_2010Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getReleaseAction_3020Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getResourceDemandingBehaviour_3003Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getResourceDemandingBehaviour_3011Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getResourceDemandingBehaviour_3014Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getResourceDemandingBehaviour_3018Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getResourceDemandingSEFF_1000Text (View): String 0%   (0/1)0%   (0/14)0%   (0/8)
getSetVariableAction_2008Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getSetVariableAction_3024Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getStartAction_2001Text (View): String 0%   (0/1)0%   (0/14)0%   (0/7)
getStartAction_3004Text (View): String 0%   (0/1)0%   (0/14)0%   (0/7)
getStopAction_2002Text (View): String 0%   (0/1)0%   (0/14)0%   (0/7)
getStopAction_3005Text (View): String 0%   (0/1)0%   (0/14)0%   (0/7)
getSynchronisationPoint_3038Text (View): String 0%   (0/1)0%   (0/2)0%   (0/1)
getText (Object): String 0%   (0/1)0%   (0/31)0%   (0/9)
getText (View): String 0%   (0/1)0%   (0/226)0%   (0/56)
getUnknownElementText (View): String 0%   (0/1)0%   (0/11)0%   (0/1)
getUnresolvedDomainElementProxyText (View): String 0%   (0/1)0%   (0/11)0%   (0/1)
getVariableCharacterisation_3033Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getVariableCharacterisation_3035Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getVariableCharacterisation_3037Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getVariableCharacterisation_3048Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getVariableCharacterisation_3055Text (View): String 0%   (0/1)0%   (0/34)0%   (0/12)
getVariableUsage_3036Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getVariableUsage_3042Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getVariableUsage_3047Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getVariableUsage_3049Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
getVariableUsage_3054Text (View): String 0%   (0/1)0%   (0/34)0%   (0/11)
init (ICommonContentExtensionSite): void 0%   (0/1)0%   (0/1)0%   (0/1)
isOwnView (View): boolean 0%   (0/1)0%   (0/5)0%   (0/2)
restoreState (IMemento): void 0%   (0/1)0%   (0/1)0%   (0/1)
saveState (IMemento): void 0%   (0/1)0%   (0/1)0%   (0/1)
updateLabel (ViewerLabel, TreePath): void 0%   (0/1)0%   (0/24)0%   (0/8)

1/*
2 * Copyright 2006 SDQ Research Group, University of Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.seff.navigator;
5 
6import org.eclipse.gmf.runtime.common.ui.services.parser.IParser;
7import org.eclipse.gmf.runtime.common.ui.services.parser.ParserOptions;
8import org.eclipse.gmf.runtime.emf.core.util.EObjectAdapter;
9import org.eclipse.gmf.runtime.emf.type.core.IElementType;
10import org.eclipse.gmf.runtime.notation.View;
11import org.eclipse.jface.resource.ImageDescriptor;
12import org.eclipse.jface.resource.ImageRegistry;
13import org.eclipse.jface.viewers.ITreePathLabelProvider;
14import org.eclipse.jface.viewers.LabelProvider;
15import org.eclipse.jface.viewers.TreePath;
16import org.eclipse.jface.viewers.ViewerLabel;
17import org.eclipse.swt.graphics.Image;
18import org.eclipse.ui.IMemento;
19import org.eclipse.ui.navigator.ICommonContentExtensionSite;
20import org.eclipse.ui.navigator.ICommonLabelProvider;
21 
22import de.uka.ipd.sdq.pcm.core.PCMRandomVariable;
23import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.AbstractActionSuccessor_AbstractActionEditPart;
24import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.AcquireAction2EditPart;
25import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.AcquireActionEditPart;
26import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.AcquireActionEntityName2EditPart;
27import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.AcquireActionEntityNameEditPart;
28import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.BranchAction2EditPart;
29import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.BranchActionEditPart;
30import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.BranchActionEntityName2EditPart;
31import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.BranchActionEntityNameEditPart;
32import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.CollectionIteratorAction2EditPart;
33import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.CollectionIteratorActionEditPart;
34import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.CollectionIteratorActionEntityName2EditPart;
35import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.CollectionIteratorActionEntityNameEditPart;
36import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.EmitEventAction2EditPart;
37import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.EmitEventActionEditPart;
38import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.EmitEventActionEntityName2EditPart;
39import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.EmitEventActionEntityNameEditPart;
40import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ExternalCallAction2EditPart;
41import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ExternalCallActionEditPart;
42import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ExternalCallActionEntityName2EditPart;
43import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ExternalCallActionEntityNameEditPart;
44import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ForkAction2EditPart;
45import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ForkActionEditPart;
46import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ForkActionEntityName2EditPart;
47import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ForkActionEntityNameEditPart;
48import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ForkedBehaviour2EditPart;
49import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ForkedBehaviourEditPart;
50import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.GuardedBranchTransitionEditPart;
51import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.GuardedBranchTransitionEntityNameEditPart;
52import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InfrastructureCallEditPart;
53import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InfrastructureCallNumberOfCallsLabelEditPart;
54import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InternalAction2EditPart;
55import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InternalActionEditPart;
56import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InternalActionEntityName2EditPart;
57import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InternalActionEntityNameEditPart;
58import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.InternalFailureOccurrenceDescriptionEditPart;
59import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.LoopAction2EditPart;
60import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.LoopActionEditPart;
61import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.LoopActionEntityName2EditPart;
62import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.LoopActionEntityNameEditPart;
63import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ParametricResourceDemandEditPart;
64import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ProbabilisticBranchTransitionEditPart;
65import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ProbabilisticBranchTransitionEntityNameEditPart;
66import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryAction2EditPart;
67import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryActionBehaviourEditPart;
68import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryActionBehaviourEntityNameEditPart;
69import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviourEditPart;
70import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryActionEditPart;
71import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryActionEntityName2EditPart;
72import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.RecoveryActionEntityNameEditPart;
73import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ReleaseAction2EditPart;
74import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ReleaseActionEditPart;
75import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ReleaseActionEntityName2EditPart;
76import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ReleaseActionEntityNameEditPart;
77import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ResourceDemandingBehaviour2EditPart;
78import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ResourceDemandingBehaviour3EditPart;
79import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ResourceDemandingBehaviour4EditPart;
80import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ResourceDemandingBehaviourEditPart;
81import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.ResourceDemandingSEFFEditPart;
82import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.SetVariableAction2EditPart;
83import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.SetVariableActionEditPart;
84import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.SetVariableActionEntityName2EditPart;
85import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.SetVariableActionEntityNameEditPart;
86import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StartAction2EditPart;
87import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StartActionEditPart;
88import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StopAction2EditPart;
89import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.StopActionEditPart;
90import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.SynchronisationPointEditPart;
91import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableCharacterisation2EditPart;
92import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableCharacterisation3EditPart;
93import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableCharacterisation4EditPart;
94import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableCharacterisation5EditPart;
95import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableCharacterisationEditPart;
96import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage2EditPart;
97import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage3EditPart;
98import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage3LabelEditPart;
99import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage4EditPart;
100import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage4LabelEditPart;
101import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage5EditPart;
102import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsage5LabelEditPart;
103import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsageEditPart;
104import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.VariableUsageLabelEditPart;
105import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.WrappingLabelEditPart;
106import de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelSeffDiagramEditorPlugin;
107import de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelVisualIDRegistry;
108import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
109import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelParserProvider;
110import de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF;
111import de.uka.ipd.sdq.pcm.seff.StartAction;
112import de.uka.ipd.sdq.pcm.seff.StopAction;
113 
114/**
115 * @generated
116 */
117public class PalladioComponentModelNavigatorLabelProvider extends LabelProvider
118                implements ICommonLabelProvider, ITreePathLabelProvider {
119 
120        /**
121         * @generated
122         */
123        static {
124                PalladioComponentModelSeffDiagramEditorPlugin
125                                .getInstance()
126                                .getImageRegistry()
127                                .put(
128                                                "Navigator?UnknownElement", ImageDescriptor.getMissingImageDescriptor()); //$NON-NLS-1$
129                PalladioComponentModelSeffDiagramEditorPlugin
130                                .getInstance()
131                                .getImageRegistry()
132                                .put(
133                                                "Navigator?ImageNotFound", ImageDescriptor.getMissingImageDescriptor()); //$NON-NLS-1$
134        }
135 
136        /**
137         * @generated
138         */
139        public void updateLabel(ViewerLabel label, TreePath elementPath) {
140                Object element = elementPath.getLastSegment();
141                if (element instanceof PalladioComponentModelNavigatorItem
142                                && !isOwnView(((PalladioComponentModelNavigatorItem) element)
143                                                .getView())) {
144                        return;
145                }
146                label.setText(getText(element));
147                label.setImage(getImage(element));
148        }
149 
150        /**
151         * @generated
152         */
153        public Image getImage(Object element) {
154                if (element instanceof PalladioComponentModelNavigatorGroup) {
155                        PalladioComponentModelNavigatorGroup group = (PalladioComponentModelNavigatorGroup) element;
156                        return PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
157                                        .getBundledImage(group.getIcon());
158                }
159 
160                if (element instanceof PalladioComponentModelNavigatorItem) {
161                        PalladioComponentModelNavigatorItem navigatorItem = (PalladioComponentModelNavigatorItem) element;
162                        if (!isOwnView(navigatorItem.getView())) {
163                                return super.getImage(element);
164                        }
165                        return getImage(navigatorItem.getView());
166                }
167 
168                return super.getImage(element);
169        }
170 
171        /**
172         * @generated
173         */
174        public Image getImage(View view) {
175                switch (PalladioComponentModelVisualIDRegistry.getVisualID(view)) {
176                case ResourceDemandingSEFFEditPart.VISUAL_ID:
177                        return getImage(
178                                        "Navigator?Diagram?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ResourceDemandingSEFF", PalladioComponentModelElementTypes.ResourceDemandingSEFF_1000); //$NON-NLS-1$
179                case StartActionEditPart.VISUAL_ID:
180                        return getImage(
181                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?StartAction", PalladioComponentModelElementTypes.StartAction_2001); //$NON-NLS-1$
182                case StopActionEditPart.VISUAL_ID:
183                        return getImage(
184                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?StopAction", PalladioComponentModelElementTypes.StopAction_2002); //$NON-NLS-1$
185                case ExternalCallActionEditPart.VISUAL_ID:
186                        return getImage(
187                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ExternalCallAction", PalladioComponentModelElementTypes.ExternalCallAction_2003); //$NON-NLS-1$
188                case EmitEventActionEditPart.VISUAL_ID:
189                        return getImage(
190                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?EmitEventAction", PalladioComponentModelElementTypes.EmitEventAction_2013); //$NON-NLS-1$
191                case LoopActionEditPart.VISUAL_ID:
192                        return getImage(
193                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?LoopAction", PalladioComponentModelElementTypes.LoopAction_2004); //$NON-NLS-1$
194                case BranchActionEditPart.VISUAL_ID:
195                        return getImage(
196                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?BranchAction", PalladioComponentModelElementTypes.BranchAction_2005); //$NON-NLS-1$
197                case InternalActionEditPart.VISUAL_ID:
198                        return getImage(
199                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?InternalAction", PalladioComponentModelElementTypes.InternalAction_2006); //$NON-NLS-1$
200                case CollectionIteratorActionEditPart.VISUAL_ID:
201                        return getImage(
202                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?CollectionIteratorAction", PalladioComponentModelElementTypes.CollectionIteratorAction_2007); //$NON-NLS-1$
203                case SetVariableActionEditPart.VISUAL_ID:
204                        return getImage(
205                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?SetVariableAction", PalladioComponentModelElementTypes.SetVariableAction_2008); //$NON-NLS-1$
206                case AcquireActionEditPart.VISUAL_ID:
207                        return getImage(
208                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?AcquireAction", PalladioComponentModelElementTypes.AcquireAction_2012); //$NON-NLS-1$
209                case ReleaseActionEditPart.VISUAL_ID:
210                        return getImage(
211                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ReleaseAction", PalladioComponentModelElementTypes.ReleaseAction_2010); //$NON-NLS-1$
212                case ForkActionEditPart.VISUAL_ID:
213                        return getImage(
214                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ForkAction", PalladioComponentModelElementTypes.ForkAction_2011); //$NON-NLS-1$
215                case RecoveryActionEditPart.VISUAL_ID:
216                        return getImage(
217                                        "Navigator?TopLevelNode?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Reliability/1.0?RecoveryAction", PalladioComponentModelElementTypes.RecoveryAction_2016); //$NON-NLS-1$
218                case VariableUsageEditPart.VISUAL_ID:
219                        return getImage(
220                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableUsage", PalladioComponentModelElementTypes.VariableUsage_3042); //$NON-NLS-1$
221                case VariableCharacterisationEditPart.VISUAL_ID:
222                        return getImage(
223                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableCharacterisation", PalladioComponentModelElementTypes.VariableCharacterisation_3033); //$NON-NLS-1$
224                case VariableUsage2EditPart.VISUAL_ID:
225                        return getImage(
226                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableUsage", PalladioComponentModelElementTypes.VariableUsage_3049); //$NON-NLS-1$
227                case VariableCharacterisation2EditPart.VISUAL_ID:
228                        return getImage(
229                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableCharacterisation", PalladioComponentModelElementTypes.VariableCharacterisation_3035); //$NON-NLS-1$
230                case VariableUsage4EditPart.VISUAL_ID:
231                        return getImage(
232                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableUsage", PalladioComponentModelElementTypes.VariableUsage_3047); //$NON-NLS-1$
233                case VariableCharacterisation3EditPart.VISUAL_ID:
234                        return getImage(
235                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableCharacterisation", PalladioComponentModelElementTypes.VariableCharacterisation_3037); //$NON-NLS-1$
236                case ResourceDemandingBehaviourEditPart.VISUAL_ID:
237                        return getImage(
238                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ResourceDemandingBehaviour", PalladioComponentModelElementTypes.ResourceDemandingBehaviour_3003); //$NON-NLS-1$
239                case StartAction2EditPart.VISUAL_ID:
240                        return getImage(
241                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?StartAction", PalladioComponentModelElementTypes.StartAction_3004); //$NON-NLS-1$
242                case StopAction2EditPart.VISUAL_ID:
243                        return getImage(
244                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?StopAction", PalladioComponentModelElementTypes.StopAction_3005); //$NON-NLS-1$
245                case LoopAction2EditPart.VISUAL_ID:
246                        return getImage(
247                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?LoopAction", PalladioComponentModelElementTypes.LoopAction_3006); //$NON-NLS-1$
248                case InternalAction2EditPart.VISUAL_ID:
249                        return getImage(
250                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?InternalAction", PalladioComponentModelElementTypes.InternalAction_3007); //$NON-NLS-1$
251                case ParametricResourceDemandEditPart.VISUAL_ID:
252                        return getImage(
253                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Performance/1.0?ParametricResourceDemand", PalladioComponentModelElementTypes.ParametricResourceDemand_3051); //$NON-NLS-1$
254                case InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID:
255                        return getImage(
256                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Reliability/4.0?InternalFailureOccurrenceDescription", PalladioComponentModelElementTypes.InternalFailureOccurrenceDescription_3050); //$NON-NLS-1$
257                case InfrastructureCallEditPart.VISUAL_ID:
258                        return getImage(
259                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Performance/1.0?InfrastructureCall", PalladioComponentModelElementTypes.InfrastructureCall_3053); //$NON-NLS-1$
260                case VariableUsage5EditPart.VISUAL_ID:
261                        return getImage(
262                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableUsage", PalladioComponentModelElementTypes.VariableUsage_3054); //$NON-NLS-1$
263                case VariableCharacterisation4EditPart.VISUAL_ID:
264                        return getImage(
265                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableCharacterisation", PalladioComponentModelElementTypes.VariableCharacterisation_3048); //$NON-NLS-1$
266                case BranchAction2EditPart.VISUAL_ID:
267                        return getImage(
268                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?BranchAction", PalladioComponentModelElementTypes.BranchAction_3009); //$NON-NLS-1$
269                case ProbabilisticBranchTransitionEditPart.VISUAL_ID:
270                        return getImage(
271                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ProbabilisticBranchTransition", PalladioComponentModelElementTypes.ProbabilisticBranchTransition_3010); //$NON-NLS-1$
272                case ResourceDemandingBehaviour2EditPart.VISUAL_ID:
273                        return getImage(
274                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ResourceDemandingBehaviour", PalladioComponentModelElementTypes.ResourceDemandingBehaviour_3011); //$NON-NLS-1$
275                case ExternalCallAction2EditPart.VISUAL_ID:
276                        return getImage(
277                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ExternalCallAction", PalladioComponentModelElementTypes.ExternalCallAction_3012); //$NON-NLS-1$
278                case EmitEventAction2EditPart.VISUAL_ID:
279                        return getImage(
280                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?EmitEventAction", PalladioComponentModelElementTypes.EmitEventAction_3046); //$NON-NLS-1$
281                case AcquireAction2EditPart.VISUAL_ID:
282                        return getImage(
283                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?AcquireAction", PalladioComponentModelElementTypes.AcquireAction_3026); //$NON-NLS-1$
284                case ReleaseAction2EditPart.VISUAL_ID:
285                        return getImage(
286                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ReleaseAction", PalladioComponentModelElementTypes.ReleaseAction_3020); //$NON-NLS-1$
287                case ForkAction2EditPart.VISUAL_ID:
288                        return getImage(
289                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ForkAction", PalladioComponentModelElementTypes.ForkAction_3023); //$NON-NLS-1$
290                case ForkedBehaviourEditPart.VISUAL_ID:
291                        return getImage(
292                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ForkedBehaviour", PalladioComponentModelElementTypes.ForkedBehaviour_3027); //$NON-NLS-1$
293                case CollectionIteratorAction2EditPart.VISUAL_ID:
294                        return getImage(
295                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?CollectionIteratorAction", PalladioComponentModelElementTypes.CollectionIteratorAction_3013); //$NON-NLS-1$
296                case ResourceDemandingBehaviour3EditPart.VISUAL_ID:
297                        return getImage(
298                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ResourceDemandingBehaviour", PalladioComponentModelElementTypes.ResourceDemandingBehaviour_3014); //$NON-NLS-1$
299                case RecoveryAction2EditPart.VISUAL_ID:
300                        return getImage(
301                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Reliability/1.0?RecoveryAction", PalladioComponentModelElementTypes.RecoveryAction_3057); //$NON-NLS-1$
302                case RecoveryActionBehaviourEditPart.VISUAL_ID:
303                        return getImage(
304                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Reliability/1.0?RecoveryActionBehaviour", PalladioComponentModelElementTypes.RecoveryActionBehaviour_3058); //$NON-NLS-1$
305                case SetVariableAction2EditPart.VISUAL_ID:
306                        return getImage(
307                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?SetVariableAction", PalladioComponentModelElementTypes.SetVariableAction_3024); //$NON-NLS-1$
308                case VariableUsage3EditPart.VISUAL_ID:
309                        return getImage(
310                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableUsage", PalladioComponentModelElementTypes.VariableUsage_3036); //$NON-NLS-1$
311                case VariableCharacterisation5EditPart.VISUAL_ID:
312                        return getImage(
313                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/Parameter/4.0?VariableCharacterisation", PalladioComponentModelElementTypes.VariableCharacterisation_3055); //$NON-NLS-1$
314                case SynchronisationPointEditPart.VISUAL_ID:
315                        return getImage(
316                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?SynchronisationPoint", PalladioComponentModelElementTypes.SynchronisationPoint_3038); //$NON-NLS-1$
317                case ForkedBehaviour2EditPart.VISUAL_ID:
318                        return getImage(
319                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ForkedBehaviour", PalladioComponentModelElementTypes.ForkedBehaviour_3039); //$NON-NLS-1$
320                case GuardedBranchTransitionEditPart.VISUAL_ID:
321                        return getImage(
322                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?GuardedBranchTransition", PalladioComponentModelElementTypes.GuardedBranchTransition_3017); //$NON-NLS-1$
323                case ResourceDemandingBehaviour4EditPart.VISUAL_ID:
324                        return getImage(
325                                        "Navigator?Node?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?ResourceDemandingBehaviour", PalladioComponentModelElementTypes.ResourceDemandingBehaviour_3018); //$NON-NLS-1$
326                case AbstractActionSuccessor_AbstractActionEditPart.VISUAL_ID:
327                        return getImage(
328                                        "Navigator?Link?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/4.0?AbstractAction?successor_AbstractAction", PalladioComponentModelElementTypes.AbstractActionSuccessor_AbstractAction_4001); //$NON-NLS-1$
329                case RecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviourEditPart.VISUAL_ID:
330                        return getImage(
331                                        "Navigator?Link?http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Reliability/1.0?RecoveryActionBehaviour?failureHandlingAlternatives__RecoveryActionBehaviour", PalladioComponentModelElementTypes.RecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviour_4004); //$NON-NLS-1$
332                }
333                return getImage("Navigator?UnknownElement", null); //$NON-NLS-1$
334        }
335 
336        /**
337         * @generated
338         */
339        private Image getImage(String key, IElementType elementType) {
340                ImageRegistry imageRegistry = PalladioComponentModelSeffDiagramEditorPlugin
341                                .getInstance().getImageRegistry();
342                Image image = imageRegistry.get(key);
343                if (image == null
344                                && elementType != null
345                                && PalladioComponentModelElementTypes
346                                                .isKnownElementType(elementType)) {
347                        image = PalladioComponentModelElementTypes.getImage(elementType);
348                        imageRegistry.put(key, image);
349                }
350 
351                if (image == null) {
352                        image = imageRegistry.get("Navigator?ImageNotFound"); //$NON-NLS-1$
353                        imageRegistry.put(key, image);
354                }
355                return image;
356        }
357 
358        /**
359         * @generated
360         */
361        public String getText(Object element) {
362                if (element instanceof PalladioComponentModelNavigatorGroup) {
363                        PalladioComponentModelNavigatorGroup group = (PalladioComponentModelNavigatorGroup) element;
364                        return group.getGroupName();
365                }
366 
367                if (element instanceof PalladioComponentModelNavigatorItem) {
368                        PalladioComponentModelNavigatorItem navigatorItem = (PalladioComponentModelNavigatorItem) element;
369                        if (!isOwnView(navigatorItem.getView())) {
370                                return null;
371                        }
372                        return getText(navigatorItem.getView());
373                }
374 
375                return super.getText(element);
376        }
377 
378        /**
379         * @generated
380         */
381        public String getText(View view) {
382                if (view.getElement() != null && view.getElement().eIsProxy()) {
383                        return getUnresolvedDomainElementProxyText(view);
384                }
385                switch (PalladioComponentModelVisualIDRegistry.getVisualID(view)) {
386                case ResourceDemandingSEFFEditPart.VISUAL_ID:
387                        return getResourceDemandingSEFF_1000Text(view);
388                case StartActionEditPart.VISUAL_ID:
389                        return getStartAction_2001Text(view);
390                case StopActionEditPart.VISUAL_ID:
391                        return getStopAction_2002Text(view);
392                case ExternalCallActionEditPart.VISUAL_ID:
393                        return getExternalCallAction_2003Text(view);
394                case EmitEventActionEditPart.VISUAL_ID:
395                        return getEmitEventAction_2013Text(view);
396                case LoopActionEditPart.VISUAL_ID:
397                        return getLoopAction_2004Text(view);
398                case BranchActionEditPart.VISUAL_ID:
399                        return getBranchAction_2005Text(view);
400                case InternalActionEditPart.VISUAL_ID:
401                        return getInternalAction_2006Text(view);
402                case CollectionIteratorActionEditPart.VISUAL_ID:
403                        return getCollectionIteratorAction_2007Text(view);
404                case SetVariableActionEditPart.VISUAL_ID:
405                        return getSetVariableAction_2008Text(view);
406                case AcquireActionEditPart.VISUAL_ID:
407                        return getAcquireAction_2012Text(view);
408                case ReleaseActionEditPart.VISUAL_ID:
409                        return getReleaseAction_2010Text(view);
410                case ForkActionEditPart.VISUAL_ID:
411                        return getForkAction_2011Text(view);
412                case RecoveryActionEditPart.VISUAL_ID:
413                        return getRecoveryAction_2016Text(view);
414                case VariableUsageEditPart.VISUAL_ID:
415                        return getVariableUsage_3042Text(view);
416                case VariableCharacterisationEditPart.VISUAL_ID:
417                        return getVariableCharacterisation_3033Text(view);
418                case VariableUsage2EditPart.VISUAL_ID:
419                        return getVariableUsage_3049Text(view);
420                case VariableCharacterisation2EditPart.VISUAL_ID:
421                        return getVariableCharacterisation_3035Text(view);
422                case VariableUsage4EditPart.VISUAL_ID:
423                        return getVariableUsage_3047Text(view);
424                case VariableCharacterisation3EditPart.VISUAL_ID:
425                        return getVariableCharacterisation_3037Text(view);
426                case ResourceDemandingBehaviourEditPart.VISUAL_ID:
427                        return getResourceDemandingBehaviour_3003Text(view);
428                case StartAction2EditPart.VISUAL_ID:
429                        return getStartAction_3004Text(view);
430                case StopAction2EditPart.VISUAL_ID:
431                        return getStopAction_3005Text(view);
432                case LoopAction2EditPart.VISUAL_ID:
433                        return getLoopAction_3006Text(view);
434                case InternalAction2EditPart.VISUAL_ID:
435                        return getInternalAction_3007Text(view);
436                case ParametricResourceDemandEditPart.VISUAL_ID:
437                        return getParametricResourceDemand_3051Text(view);
438                case InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID:
439                        return getInternalFailureOccurrenceDescription_3050Text(view);
440                case InfrastructureCallEditPart.VISUAL_ID:
441                        return getInfrastructureCall_3053Text(view);
442                case VariableUsage5EditPart.VISUAL_ID:
443                        return getVariableUsage_3054Text(view);
444                case VariableCharacterisation4EditPart.VISUAL_ID:
445                        return getVariableCharacterisation_3048Text(view);
446                case BranchAction2EditPart.VISUAL_ID:
447                        return getBranchAction_3009Text(view);
448                case ProbabilisticBranchTransitionEditPart.VISUAL_ID:
449                        return getProbabilisticBranchTransition_3010Text(view);
450                case ResourceDemandingBehaviour2EditPart.VISUAL_ID:
451                        return getResourceDemandingBehaviour_3011Text(view);
452                case ExternalCallAction2EditPart.VISUAL_ID:
453                        return getExternalCallAction_3012Text(view);
454                case EmitEventAction2EditPart.VISUAL_ID:
455                        return getEmitEventAction_3046Text(view);
456                case AcquireAction2EditPart.VISUAL_ID:
457                        return getAcquireAction_3026Text(view);
458                case ReleaseAction2EditPart.VISUAL_ID:
459                        return getReleaseAction_3020Text(view);
460                case ForkAction2EditPart.VISUAL_ID:
461                        return getForkAction_3023Text(view);
462                case ForkedBehaviourEditPart.VISUAL_ID:
463                        return getForkedBehaviour_3027Text(view);
464                case CollectionIteratorAction2EditPart.VISUAL_ID:
465                        return getCollectionIteratorAction_3013Text(view);
466                case ResourceDemandingBehaviour3EditPart.VISUAL_ID:
467                        return getResourceDemandingBehaviour_3014Text(view);
468                case RecoveryAction2EditPart.VISUAL_ID:
469                        return getRecoveryAction_3057Text(view);
470                case RecoveryActionBehaviourEditPart.VISUAL_ID:
471                        return getRecoveryActionBehaviour_3058Text(view);
472                case SetVariableAction2EditPart.VISUAL_ID:
473                        return getSetVariableAction_3024Text(view);
474                case VariableUsage3EditPart.VISUAL_ID:
475                        return getVariableUsage_3036Text(view);
476                case VariableCharacterisation5EditPart.VISUAL_ID:
477                        return getVariableCharacterisation_3055Text(view);
478                case SynchronisationPointEditPart.VISUAL_ID:
479                        return getSynchronisationPoint_3038Text(view);
480                case ForkedBehaviour2EditPart.VISUAL_ID:
481                        return getForkedBehaviour_3039Text(view);
482                case GuardedBranchTransitionEditPart.VISUAL_ID:
483                        return getGuardedBranchTransition_3017Text(view);
484                case ResourceDemandingBehaviour4EditPart.VISUAL_ID:
485                        return getResourceDemandingBehaviour_3018Text(view);
486                case AbstractActionSuccessor_AbstractActionEditPart.VISUAL_ID:
487                        return getAbstractActionSuccessor_AbstractAction_4001Text(view);
488                case RecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviourEditPart.VISUAL_ID:
489                        return getRecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviour_4004Text(view);
490                }
491                return getUnknownElementText(view);
492        }
493 
494        /**
495         * @generated
496         */
497        private String getResourceDemandingSEFF_1000Text(View view) {
498                ResourceDemandingSEFF domainModelElement = (ResourceDemandingSEFF) view
499                                .getElement();
500                if (domainModelElement != null) {
501                        return domainModelElement.getId();
502                } else {
503                        PalladioComponentModelSeffDiagramEditorPlugin
504                                        .getInstance()
505                                        .logError(
506                                                        "No domain element for view with visualID = " + 1000); //$NON-NLS-1$
507                        return ""; //$NON-NLS-1$
508                }
509        }
510 
511        /**
512         * @generated
513         */
514        private String getStartAction_2001Text(View view) {
515                StartAction domainModelElement = (StartAction) view.getElement();
516                if (domainModelElement != null) {
517                        return domainModelElement.getId();
518                } else {
519                        PalladioComponentModelSeffDiagramEditorPlugin
520                                        .getInstance()
521                                        .logError(
522                                                        "No domain element for view with visualID = " + 2001); //$NON-NLS-1$
523                        return ""; //$NON-NLS-1$
524                }
525        }
526 
527        /**
528         * @generated
529         */
530        private String getStopAction_2002Text(View view) {
531                StopAction domainModelElement = (StopAction) view.getElement();
532                if (domainModelElement != null) {
533                        return domainModelElement.getId();
534                } else {
535                        PalladioComponentModelSeffDiagramEditorPlugin
536                                        .getInstance()
537                                        .logError(
538                                                        "No domain element for view with visualID = " + 2002); //$NON-NLS-1$
539                        return ""; //$NON-NLS-1$
540                }
541        }
542 
543        /**
544         * @generated
545         */
546        private String getExternalCallAction_2003Text(View view) {
547                IParser parser = PalladioComponentModelParserProvider
548                                .getParser(
549                                                PalladioComponentModelElementTypes.ExternalCallAction_2003,
550                                                view.getElement() != null ? view.getElement() : view,
551                                                PalladioComponentModelVisualIDRegistry
552                                                                .getType(ExternalCallActionEntityNameEditPart.VISUAL_ID));
553                if (parser != null) {
554                        return parser.getPrintString(new EObjectAdapter(
555                                        view.getElement() != null ? view.getElement() : view),
556                                        ParserOptions.NONE.intValue());
557                } else {
558                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
559                                        .logError("Parser was not found for label " + 5002); //$NON-NLS-1$
560                        return ""; //$NON-NLS-1$
561                }
562        }
563 
564        /**
565         * @generated
566         */
567        private String getEmitEventAction_2013Text(View view) {
568                IParser parser = PalladioComponentModelParserProvider.getParser(
569                                PalladioComponentModelElementTypes.EmitEventAction_2013, view
570                                                .getElement() != null ? view.getElement() : view,
571                                PalladioComponentModelVisualIDRegistry
572                                                .getType(EmitEventActionEntityNameEditPart.VISUAL_ID));
573                if (parser != null) {
574                        return parser.getPrintString(new EObjectAdapter(
575                                        view.getElement() != null ? view.getElement() : view),
576                                        ParserOptions.NONE.intValue());
577                } else {
578                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
579                                        .logError("Parser was not found for label " + 5046); //$NON-NLS-1$
580                        return ""; //$NON-NLS-1$
581                }
582        }
583 
584        /**
585         * @generated
586         */
587        private String getLoopAction_2004Text(View view) {
588                IParser parser = PalladioComponentModelParserProvider.getParser(
589                                PalladioComponentModelElementTypes.LoopAction_2004, view
590                                                .getElement() != null ? view.getElement() : view,
591                                PalladioComponentModelVisualIDRegistry
592                                                .getType(LoopActionEntityNameEditPart.VISUAL_ID));
593                if (parser != null) {
594                        return parser.getPrintString(new EObjectAdapter(
595                                        view.getElement() != null ? view.getElement() : view),
596                                        ParserOptions.NONE.intValue());
597                } else {
598                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
599                                        .logError("Parser was not found for label " + 5009); //$NON-NLS-1$
600                        return ""; //$NON-NLS-1$
601                }
602        }
603 
604        /**
605         * @generated
606         */
607        private String getBranchAction_2005Text(View view) {
608                IParser parser = PalladioComponentModelParserProvider.getParser(
609                                PalladioComponentModelElementTypes.BranchAction_2005, view
610                                                .getElement() != null ? view.getElement() : view,
611                                PalladioComponentModelVisualIDRegistry
612                                                .getType(BranchActionEntityNameEditPart.VISUAL_ID));
613                if (parser != null) {
614                        return parser.getPrintString(new EObjectAdapter(
615                                        view.getElement() != null ? view.getElement() : view),
616                                        ParserOptions.NONE.intValue());
617                } else {
618                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
619                                        .logError("Parser was not found for label " + 5011); //$NON-NLS-1$
620                        return ""; //$NON-NLS-1$
621                }
622        }
623 
624        /**
625         * @generated
626         */
627        private String getInternalAction_2006Text(View view) {
628                IParser parser = PalladioComponentModelParserProvider.getParser(
629                                PalladioComponentModelElementTypes.InternalAction_2006, view
630                                                .getElement() != null ? view.getElement() : view,
631                                PalladioComponentModelVisualIDRegistry
632                                                .getType(InternalActionEntityNameEditPart.VISUAL_ID));
633                if (parser != null) {
634                        return parser.getPrintString(new EObjectAdapter(
635                                        view.getElement() != null ? view.getElement() : view),
636                                        ParserOptions.NONE.intValue());
637                } else {
638                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
639                                        .logError("Parser was not found for label " + 5012); //$NON-NLS-1$
640                        return ""; //$NON-NLS-1$
641                }
642        }
643 
644        /**
645         * @generated
646         */
647        private String getCollectionIteratorAction_2007Text(View view) {
648                IParser parser = PalladioComponentModelParserProvider
649                                .getParser(
650                                                PalladioComponentModelElementTypes.CollectionIteratorAction_2007,
651                                                view.getElement() != null ? view.getElement() : view,
652                                                PalladioComponentModelVisualIDRegistry
653                                                                .getType(CollectionIteratorActionEntityNameEditPart.VISUAL_ID));
654                if (parser != null) {
655                        return parser.getPrintString(new EObjectAdapter(
656                                        view.getElement() != null ? view.getElement() : view),
657                                        ParserOptions.NONE.intValue());
658                } else {
659                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
660                                        .logError("Parser was not found for label " + 5015); //$NON-NLS-1$
661                        return ""; //$NON-NLS-1$
662                }
663        }
664 
665        /**
666         * @generated
667         */
668        private String getSetVariableAction_2008Text(View view) {
669                IParser parser = PalladioComponentModelParserProvider
670                                .getParser(
671                                                PalladioComponentModelElementTypes.SetVariableAction_2008,
672                                                view.getElement() != null ? view.getElement() : view,
673                                                PalladioComponentModelVisualIDRegistry
674                                                                .getType(SetVariableActionEntityNameEditPart.VISUAL_ID));
675                if (parser != null) {
676                        return parser.getPrintString(new EObjectAdapter(
677                                        view.getElement() != null ? view.getElement() : view),
678                                        ParserOptions.NONE.intValue());
679                } else {
680                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
681                                        .logError("Parser was not found for label " + 5023); //$NON-NLS-1$
682                        return ""; //$NON-NLS-1$
683                }
684        }
685 
686        /**
687         * @generated
688         */
689        private String getAcquireAction_2012Text(View view) {
690                IParser parser = PalladioComponentModelParserProvider.getParser(
691                                PalladioComponentModelElementTypes.AcquireAction_2012, view
692                                                .getElement() != null ? view.getElement() : view,
693                                PalladioComponentModelVisualIDRegistry
694                                                .getType(AcquireActionEntityNameEditPart.VISUAL_ID));
695                if (parser != null) {
696                        return parser.getPrintString(new EObjectAdapter(
697                                        view.getElement() != null ? view.getElement() : view),
698                                        ParserOptions.NONE.intValue());
699                } else {
700                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
701                                        .logError("Parser was not found for label " + 5029); //$NON-NLS-1$
702                        return ""; //$NON-NLS-1$
703                }
704        }
705 
706        /**
707         * @generated
708         */
709        private String getReleaseAction_2010Text(View view) {
710                IParser parser = PalladioComponentModelParserProvider.getParser(
711                                PalladioComponentModelElementTypes.ReleaseAction_2010, view
712                                                .getElement() != null ? view.getElement() : view,
713                                PalladioComponentModelVisualIDRegistry
714                                                .getType(ReleaseActionEntityNameEditPart.VISUAL_ID));
715                if (parser != null) {
716                        return parser.getPrintString(new EObjectAdapter(
717                                        view.getElement() != null ? view.getElement() : view),
718                                        ParserOptions.NONE.intValue());
719                } else {
720                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
721                                        .logError("Parser was not found for label " + 5022); //$NON-NLS-1$
722                        return ""; //$NON-NLS-1$
723                }
724        }
725 
726        /**
727         * @generated
728         */
729        private String getForkAction_2011Text(View view) {
730                IParser parser = PalladioComponentModelParserProvider.getParser(
731                                PalladioComponentModelElementTypes.ForkAction_2011, view
732                                                .getElement() != null ? view.getElement() : view,
733                                PalladioComponentModelVisualIDRegistry
734                                                .getType(ForkActionEntityNameEditPart.VISUAL_ID));
735                if (parser != null) {
736                        return parser.getPrintString(new EObjectAdapter(
737                                        view.getElement() != null ? view.getElement() : view),
738                                        ParserOptions.NONE.intValue());
739                } else {
740                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
741                                        .logError("Parser was not found for label " + 5024); //$NON-NLS-1$
742                        return ""; //$NON-NLS-1$
743                }
744        }
745 
746        /**
747         * @generated
748         */
749        private String getRecoveryAction_2016Text(View view) {
750                IParser parser = PalladioComponentModelParserProvider.getParser(
751                                PalladioComponentModelElementTypes.RecoveryAction_2016, view
752                                                .getElement() != null ? view.getElement() : view,
753                                PalladioComponentModelVisualIDRegistry
754                                                .getType(RecoveryActionEntityNameEditPart.VISUAL_ID));
755                if (parser != null) {
756                        return parser.getPrintString(new EObjectAdapter(
757                                        view.getElement() != null ? view.getElement() : view),
758                                        ParserOptions.NONE.intValue());
759                } else {
760                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
761                                        .logError("Parser was not found for label " + 5056); //$NON-NLS-1$
762                        return ""; //$NON-NLS-1$
763                }
764        }
765 
766        /**
767         * @generated
768         */
769        private String getVariableUsage_3042Text(View view) {
770                IParser parser = PalladioComponentModelParserProvider.getParser(
771                                PalladioComponentModelElementTypes.VariableUsage_3042, view
772                                                .getElement() != null ? view.getElement() : view,
773                                PalladioComponentModelVisualIDRegistry
774                                                .getType(VariableUsageLabelEditPart.VISUAL_ID));
775                if (parser != null) {
776                        return parser.getPrintString(new EObjectAdapter(
777                                        view.getElement() != null ? view.getElement() : view),
778                                        ParserOptions.NONE.intValue());
779                } else {
780                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
781                                        .logError("Parser was not found for label " + 5040); //$NON-NLS-1$
782                        return ""; //$NON-NLS-1$
783                }
784        }
785 
786        /**
787         * @generated
788         */
789        private String getVariableCharacterisation_3033Text(View view) {
790                IParser parser = PalladioComponentModelParserProvider
791                                .getParser(
792                                                PalladioComponentModelElementTypes.VariableCharacterisation_3033,
793                                                view.getElement() != null ? view.getElement() : view,
794                                                PalladioComponentModelVisualIDRegistry
795                                                                .getType(VariableCharacterisationEditPart.VISUAL_ID));
796                if (parser != null) {
797                        return parser.getPrintString(new EObjectAdapter(
798                                        view.getElement() != null ? view.getElement() : view),
799                                        ParserOptions.NONE.intValue());
800                } else {
801                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
802                                        .logError("Parser was not found for label " + 3033); //$NON-NLS-1$
803                        return ""; //$NON-NLS-1$
804                }
805        }
806 
807        /**
808         * @generated
809         */
810        private String getVariableUsage_3049Text(View view) {
811                IParser parser = PalladioComponentModelParserProvider.getParser(
812                                PalladioComponentModelElementTypes.VariableUsage_3049, view
813                                                .getElement() != null ? view.getElement() : view,
814                                PalladioComponentModelVisualIDRegistry
815                                                .getType(WrappingLabelEditPart.VISUAL_ID));
816                if (parser != null) {
817                        return parser.getPrintString(new EObjectAdapter(
818                                        view.getElement() != null ? view.getElement() : view),
819                                        ParserOptions.NONE.intValue());
820                } else {
821                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
822                                        .logError("Parser was not found for label " + 5047); //$NON-NLS-1$
823                        return ""; //$NON-NLS-1$
824                }
825        }
826 
827        /**
828         * @generated
829         */
830        private String getVariableCharacterisation_3035Text(View view) {
831                IParser parser = PalladioComponentModelParserProvider
832                                .getParser(
833                                                PalladioComponentModelElementTypes.VariableCharacterisation_3035,
834                                                view.getElement() != null ? view.getElement() : view,
835                                                PalladioComponentModelVisualIDRegistry
836                                                                .getType(VariableCharacterisation2EditPart.VISUAL_ID));
837                if (parser != null) {
838                        return parser.getPrintString(new EObjectAdapter(
839                                        view.getElement() != null ? view.getElement() : view),
840                                        ParserOptions.NONE.intValue());
841                } else {
842                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
843                                        .logError("Parser was not found for label " + 3035); //$NON-NLS-1$
844                        return ""; //$NON-NLS-1$
845                }
846        }
847 
848        /**
849         * @generated
850         */
851        private String getVariableUsage_3047Text(View view) {
852                IParser parser = PalladioComponentModelParserProvider.getParser(
853                                PalladioComponentModelElementTypes.VariableUsage_3047, view
854                                                .getElement() != null ? view.getElement() : view,
855                                PalladioComponentModelVisualIDRegistry
856                                                .getType(VariableUsage4LabelEditPart.VISUAL_ID));
857                if (parser != null) {
858                        return parser.getPrintString(new EObjectAdapter(
859                                        view.getElement() != null ? view.getElement() : view),
860                                        ParserOptions.NONE.intValue());
861                } else {
862                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
863                                        .logError("Parser was not found for label " + 5045); //$NON-NLS-1$
864                        return ""; //$NON-NLS-1$
865                }
866        }
867 
868        /**
869         * @generated
870         */
871        private String getResourceDemandingBehaviour_3003Text(View view) {
872                return ""; //$NON-NLS-1$
873        }
874 
875        /**
876         * @generated
877         */
878        private String getStartAction_3004Text(View view) {
879                StartAction domainModelElement = (StartAction) view.getElement();
880                if (domainModelElement != null) {
881                        return domainModelElement.getId();
882                } else {
883                        PalladioComponentModelSeffDiagramEditorPlugin
884                                        .getInstance()
885                                        .logError(
886                                                        "No domain element for view with visualID = " + 3004); //$NON-NLS-1$
887                        return ""; //$NON-NLS-1$
888                }
889        }
890 
891        /**
892         * @generated
893         */
894        private String getStopAction_3005Text(View view) {
895                StopAction domainModelElement = (StopAction) view.getElement();
896                if (domainModelElement != null) {
897                        return domainModelElement.getId();
898                } else {
899                        PalladioComponentModelSeffDiagramEditorPlugin
900                                        .getInstance()
901                                        .logError(
902                                                        "No domain element for view with visualID = " + 3005); //$NON-NLS-1$
903                        return ""; //$NON-NLS-1$
904                }
905        }
906 
907        /**
908         * @generated
909         */
910        private String getLoopAction_3006Text(View view) {
911                IParser parser = PalladioComponentModelParserProvider.getParser(
912                                PalladioComponentModelElementTypes.LoopAction_3006, view
913                                                .getElement() != null ? view.getElement() : view,
914                                PalladioComponentModelVisualIDRegistry
915                                                .getType(LoopActionEntityName2EditPart.VISUAL_ID));
916                if (parser != null) {
917                        return parser.getPrintString(new EObjectAdapter(
918                                        view.getElement() != null ? view.getElement() : view),
919                                        ParserOptions.NONE.intValue());
920                } else {
921                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
922                                        .logError("Parser was not found for label " + 5003); //$NON-NLS-1$
923                        return ""; //$NON-NLS-1$
924                }
925        }
926 
927        /**
928         * @generated
929         */
930        private String getInternalAction_3007Text(View view) {
931                IParser parser = PalladioComponentModelParserProvider.getParser(
932                                PalladioComponentModelElementTypes.InternalAction_3007, view
933                                                .getElement() != null ? view.getElement() : view,
934                                PalladioComponentModelVisualIDRegistry
935                                                .getType(InternalActionEntityName2EditPart.VISUAL_ID));
936                if (parser != null) {
937                        return parser.getPrintString(new EObjectAdapter(
938                                        view.getElement() != null ? view.getElement() : view),
939                                        ParserOptions.NONE.intValue());
940                } else {
941                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
942                                        .logError("Parser was not found for label " + 5005); //$NON-NLS-1$
943                        return ""; //$NON-NLS-1$
944                }
945        }
946 
947        /**
948         * @generated
949         */
950        private String getParametricResourceDemand_3051Text(View view) {
951                IParser parser = PalladioComponentModelParserProvider
952                                .getParser(
953                                                PalladioComponentModelElementTypes.ParametricResourceDemand_3051,
954                                                view.getElement() != null ? view.getElement() : view,
955                                                PalladioComponentModelVisualIDRegistry
956                                                                .getType(ParametricResourceDemandEditPart.VISUAL_ID));
957                if (parser != null) {
958                        return parser.getPrintString(new EObjectAdapter(
959                                        view.getElement() != null ? view.getElement() : view),
960                                        ParserOptions.NONE.intValue());
961                } else {
962                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
963                                        .logError("Parser was not found for label " + 3051); //$NON-NLS-1$
964                        return ""; //$NON-NLS-1$
965                }
966        }
967 
968        /**
969         * @generated
970         */
971        private String getInternalFailureOccurrenceDescription_3050Text(View view) {
972                IParser parser = PalladioComponentModelParserProvider
973                                .getParser(
974                                                PalladioComponentModelElementTypes.InternalFailureOccurrenceDescription_3050,
975                                                view.getElement() != null ? view.getElement() : view,
976                                                PalladioComponentModelVisualIDRegistry
977                                                                .getType(InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID));
978                if (parser != null) {
979                        return parser.getPrintString(new EObjectAdapter(
980                                        view.getElement() != null ? view.getElement() : view),
981                                        ParserOptions.NONE.intValue());
982                } else {
983                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
984                                        .logError("Parser was not found for label " + 3050); //$NON-NLS-1$
985                        return ""; //$NON-NLS-1$
986                }
987        }
988 
989        /**
990         * @generated
991         */
992        private String getInfrastructureCall_3053Text(View view) {
993                IParser parser = PalladioComponentModelParserProvider
994                                .getParser(
995                                                PalladioComponentModelElementTypes.InfrastructureCall_3053,
996                                                view.getElement() != null ? view.getElement() : view,
997                                                PalladioComponentModelVisualIDRegistry
998                                                                .getType(InfrastructureCallNumberOfCallsLabelEditPart.VISUAL_ID));
999                if (parser != null) {
1000                        return parser.getPrintString(new EObjectAdapter(
1001                                        view.getElement() != null ? view.getElement() : view),
1002                                        ParserOptions.NONE.intValue());
1003                } else {
1004                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1005                                        .logError("Parser was not found for label " + 5051); //$NON-NLS-1$
1006                        return ""; //$NON-NLS-1$
1007                }
1008        }
1009 
1010        /**
1011         * @generated
1012         */
1013        private String getVariableUsage_3054Text(View view) {
1014                IParser parser = PalladioComponentModelParserProvider.getParser(
1015                                PalladioComponentModelElementTypes.VariableUsage_3054, view
1016                                                .getElement() != null ? view.getElement() : view,
1017                                PalladioComponentModelVisualIDRegistry
1018                                                .getType(VariableUsage5LabelEditPart.VISUAL_ID));
1019                if (parser != null) {
1020                        return parser.getPrintString(new EObjectAdapter(
1021                                        view.getElement() != null ? view.getElement() : view),
1022                                        ParserOptions.NONE.intValue());
1023                } else {
1024                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1025                                        .logError("Parser was not found for label " + 5050); //$NON-NLS-1$
1026                        return ""; //$NON-NLS-1$
1027                }
1028        }
1029 
1030        /**
1031         * @generated
1032         */
1033        private String getBranchAction_3009Text(View view) {
1034                IParser parser = PalladioComponentModelParserProvider.getParser(
1035                                PalladioComponentModelElementTypes.BranchAction_3009, view
1036                                                .getElement() != null ? view.getElement() : view,
1037                                PalladioComponentModelVisualIDRegistry
1038                                                .getType(BranchActionEntityName2EditPart.VISUAL_ID));
1039                if (parser != null) {
1040                        return parser.getPrintString(new EObjectAdapter(
1041                                        view.getElement() != null ? view.getElement() : view),
1042                                        ParserOptions.NONE.intValue());
1043                } else {
1044                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1045                                        .logError("Parser was not found for label " + 5008); //$NON-NLS-1$
1046                        return ""; //$NON-NLS-1$
1047                }
1048        }
1049 
1050        /**
1051         * @generated
1052         */
1053        private String getProbabilisticBranchTransition_3010Text(View view) {
1054                IParser parser = PalladioComponentModelParserProvider
1055                                .getParser(
1056                                                PalladioComponentModelElementTypes.ProbabilisticBranchTransition_3010,
1057                                                view.getElement() != null ? view.getElement() : view,
1058                                                PalladioComponentModelVisualIDRegistry
1059                                                                .getType(ProbabilisticBranchTransitionEntityNameEditPart.VISUAL_ID));
1060                if (parser != null) {
1061                        return parser.getPrintString(new EObjectAdapter(
1062                                        view.getElement() != null ? view.getElement() : view),
1063                                        ParserOptions.NONE.intValue());
1064                } else {
1065                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1066                                        .logError("Parser was not found for label " + 5007); //$NON-NLS-1$
1067                        return ""; //$NON-NLS-1$
1068                }
1069        }
1070 
1071        /**
1072         * @generated
1073         */
1074        private String getResourceDemandingBehaviour_3011Text(View view) {
1075                return ""; //$NON-NLS-1$
1076        }
1077 
1078        /**
1079         * @generated
1080         */
1081        private String getExternalCallAction_3012Text(View view) {
1082                IParser parser = PalladioComponentModelParserProvider
1083                                .getParser(
1084                                                PalladioComponentModelElementTypes.ExternalCallAction_3012,
1085                                                view.getElement() != null ? view.getElement() : view,
1086                                                PalladioComponentModelVisualIDRegistry
1087                                                                .getType(ExternalCallActionEntityName2EditPart.VISUAL_ID));
1088                if (parser != null) {
1089                        return parser.getPrintString(new EObjectAdapter(
1090                                        view.getElement() != null ? view.getElement() : view),
1091                                        ParserOptions.NONE.intValue());
1092                } else {
1093                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1094                                        .logError("Parser was not found for label " + 5006); //$NON-NLS-1$
1095                        return ""; //$NON-NLS-1$
1096                }
1097        }
1098 
1099        /**
1100         * @generated
1101         */
1102        private String getEmitEventAction_3046Text(View view) {
1103                IParser parser = PalladioComponentModelParserProvider.getParser(
1104                                PalladioComponentModelElementTypes.EmitEventAction_3046, view
1105                                                .getElement() != null ? view.getElement() : view,
1106                                PalladioComponentModelVisualIDRegistry
1107                                                .getType(EmitEventActionEntityName2EditPart.VISUAL_ID));
1108                if (parser != null) {
1109                        return parser.getPrintString(new EObjectAdapter(
1110                                        view.getElement() != null ? view.getElement() : view),
1111                                        ParserOptions.NONE.intValue());
1112                } else {
1113                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1114                                        .logError("Parser was not found for label " + 5044); //$NON-NLS-1$
1115                        return ""; //$NON-NLS-1$
1116                }
1117        }
1118 
1119        /**
1120         * @generated
1121         */
1122        private String getAcquireAction_3026Text(View view) {
1123                IParser parser = PalladioComponentModelParserProvider.getParser(
1124                                PalladioComponentModelElementTypes.AcquireAction_3026, view
1125                                                .getElement() != null ? view.getElement() : view,
1126                                PalladioComponentModelVisualIDRegistry
1127                                                .getType(AcquireActionEntityName2EditPart.VISUAL_ID));
1128                if (parser != null) {
1129                        return parser.getPrintString(new EObjectAdapter(
1130                                        view.getElement() != null ? view.getElement() : view),
1131                                        ParserOptions.NONE.intValue());
1132                } else {
1133                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1134                                        .logError("Parser was not found for label " + 5028); //$NON-NLS-1$
1135                        return ""; //$NON-NLS-1$
1136                }
1137        }
1138 
1139        /**
1140         * @generated
1141         */
1142        private String getReleaseAction_3020Text(View view) {
1143                IParser parser = PalladioComponentModelParserProvider.getParser(
1144                                PalladioComponentModelElementTypes.ReleaseAction_3020, view
1145                                                .getElement() != null ? view.getElement() : view,
1146                                PalladioComponentModelVisualIDRegistry
1147                                                .getType(ReleaseActionEntityName2EditPart.VISUAL_ID));
1148                if (parser != null) {
1149                        return parser.getPrintString(new EObjectAdapter(
1150                                        view.getElement() != null ? view.getElement() : view),
1151                                        ParserOptions.NONE.intValue());
1152                } else {
1153                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1154                                        .logError("Parser was not found for label " + 5020); //$NON-NLS-1$
1155                        return ""; //$NON-NLS-1$
1156                }
1157        }
1158 
1159        /**
1160         * @generated
1161         */
1162        private String getForkAction_3023Text(View view) {
1163                IParser parser = PalladioComponentModelParserProvider.getParser(
1164                                PalladioComponentModelElementTypes.ForkAction_3023, view
1165                                                .getElement() != null ? view.getElement() : view,
1166                                PalladioComponentModelVisualIDRegistry
1167                                                .getType(ForkActionEntityName2EditPart.VISUAL_ID));
1168                if (parser != null) {
1169                        return parser.getPrintString(new EObjectAdapter(
1170                                        view.getElement() != null ? view.getElement() : view),
1171                                        ParserOptions.NONE.intValue());
1172                } else {
1173                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1174                                        .logError("Parser was not found for label " + 5026); //$NON-NLS-1$
1175                        return ""; //$NON-NLS-1$
1176                }
1177        }
1178 
1179        /**
1180         * @generated
1181         */
1182        private String getForkedBehaviour_3027Text(View view) {
1183                return ""; //$NON-NLS-1$
1184        }
1185 
1186        /**
1187         * @generated
1188         */
1189        private String getCollectionIteratorAction_3013Text(View view) {
1190                IParser parser = PalladioComponentModelParserProvider
1191                                .getParser(
1192                                                PalladioComponentModelElementTypes.CollectionIteratorAction_3013,
1193                                                view.getElement() != null ? view.getElement() : view,
1194                                                PalladioComponentModelVisualIDRegistry
1195                                                                .getType(CollectionIteratorActionEntityName2EditPart.VISUAL_ID));
1196                if (parser != null) {
1197                        return parser.getPrintString(new EObjectAdapter(
1198                                        view.getElement() != null ? view.getElement() : view),
1199                                        ParserOptions.NONE.intValue());
1200                } else {
1201                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1202                                        .logError("Parser was not found for label " + 5013); //$NON-NLS-1$
1203                        return ""; //$NON-NLS-1$
1204                }
1205        }
1206 
1207        /**
1208         * @generated
1209         */
1210        private String getResourceDemandingBehaviour_3014Text(View view) {
1211                return ""; //$NON-NLS-1$
1212        }
1213 
1214        /**
1215         * @generated
1216         */
1217        private String getRecoveryAction_3057Text(View view) {
1218                IParser parser = PalladioComponentModelParserProvider.getParser(
1219                                PalladioComponentModelElementTypes.RecoveryAction_3057, view
1220                                                .getElement() != null ? view.getElement() : view,
1221                                PalladioComponentModelVisualIDRegistry
1222                                                .getType(RecoveryActionEntityName2EditPart.VISUAL_ID));
1223                if (parser != null) {
1224                        return parser.getPrintString(new EObjectAdapter(
1225                                        view.getElement() != null ? view.getElement() : view),
1226                                        ParserOptions.NONE.intValue());
1227                } else {
1228                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1229                                        .logError("Parser was not found for label " + 5055); //$NON-NLS-1$
1230                        return ""; //$NON-NLS-1$
1231                }
1232        }
1233 
1234        /**
1235         * @generated
1236         */
1237        private String getRecoveryActionBehaviour_3058Text(View view) {
1238                IParser parser = PalladioComponentModelParserProvider
1239                                .getParser(
1240                                                PalladioComponentModelElementTypes.RecoveryActionBehaviour_3058,
1241                                                view.getElement() != null ? view.getElement() : view,
1242                                                PalladioComponentModelVisualIDRegistry
1243                                                                .getType(RecoveryActionBehaviourEntityNameEditPart.VISUAL_ID));
1244                if (parser != null) {
1245                        return parser.getPrintString(new EObjectAdapter(
1246                                        view.getElement() != null ? view.getElement() : view),
1247                                        ParserOptions.NONE.intValue());
1248                } else {
1249                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1250                                        .logError("Parser was not found for label " + 5054); //$NON-NLS-1$
1251                        return ""; //$NON-NLS-1$
1252                }
1253        }
1254 
1255        /**
1256         * @generated
1257         */
1258        private String getSynchronisationPoint_3038Text(View view) {
1259                return ""; //$NON-NLS-1$
1260        }
1261 
1262        /**
1263         * @generated
1264         */
1265        private String getForkedBehaviour_3039Text(View view) {
1266                return ""; //$NON-NLS-1$
1267        }
1268 
1269        /**
1270         * @generated
1271         */
1272        private String getSetVariableAction_3024Text(View view) {
1273                IParser parser = PalladioComponentModelParserProvider
1274                                .getParser(
1275                                                PalladioComponentModelElementTypes.SetVariableAction_3024,
1276                                                view.getElement() != null ? view.getElement() : view,
1277                                                PalladioComponentModelVisualIDRegistry
1278                                                                .getType(SetVariableActionEntityName2EditPart.VISUAL_ID));
1279                if (parser != null) {
1280                        return parser.getPrintString(new EObjectAdapter(
1281                                        view.getElement() != null ? view.getElement() : view),
1282                                        ParserOptions.NONE.intValue());
1283                } else {
1284                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1285                                        .logError("Parser was not found for label " + 5027); //$NON-NLS-1$
1286                        return ""; //$NON-NLS-1$
1287                }
1288        }
1289 
1290        /**
1291         * @generated
1292         */
1293        private String getVariableUsage_3036Text(View view) {
1294                IParser parser = PalladioComponentModelParserProvider.getParser(
1295                                PalladioComponentModelElementTypes.VariableUsage_3036, view
1296                                                .getElement() != null ? view.getElement() : view,
1297                                PalladioComponentModelVisualIDRegistry
1298                                                .getType(VariableUsage3LabelEditPart.VISUAL_ID));
1299                if (parser != null) {
1300                        return parser.getPrintString(new EObjectAdapter(
1301                                        view.getElement() != null ? view.getElement() : view),
1302                                        ParserOptions.NONE.intValue());
1303                } else {
1304                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1305                                        .logError("Parser was not found for label " + 5035); //$NON-NLS-1$
1306                        return ""; //$NON-NLS-1$
1307                }
1308        }
1309 
1310        /**
1311         * @generated
1312         */
1313        private String getVariableCharacterisation_3055Text(View view) {
1314                IParser parser = PalladioComponentModelParserProvider
1315                                .getParser(
1316                                                PalladioComponentModelElementTypes.VariableCharacterisation_3055,
1317                                                view.getElement() != null ? view.getElement() : view,
1318                                                PalladioComponentModelVisualIDRegistry
1319                                                                .getType(VariableCharacterisation5EditPart.VISUAL_ID));
1320                if (parser != null) {
1321                        return parser.getPrintString(new EObjectAdapter(
1322                                        view.getElement() != null ? view.getElement() : view),
1323                                        ParserOptions.NONE.intValue());
1324                } else {
1325                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1326                                        .logError("Parser was not found for label " + 3055); //$NON-NLS-1$
1327                        return ""; //$NON-NLS-1$
1328                }
1329        }
1330 
1331        /**
1332         * @generated
1333         */
1334        private String getVariableCharacterisation_3048Text(View view) {
1335                IParser parser = PalladioComponentModelParserProvider
1336                                .getParser(
1337                                                PalladioComponentModelElementTypes.VariableCharacterisation_3048,
1338                                                view.getElement() != null ? view.getElement() : view,
1339                                                PalladioComponentModelVisualIDRegistry
1340                                                                .getType(VariableCharacterisation4EditPart.VISUAL_ID));
1341                if (parser != null) {
1342                        return parser.getPrintString(new EObjectAdapter(
1343                                        view.getElement() != null ? view.getElement() : view),
1344                                        ParserOptions.NONE.intValue());
1345                } else {
1346                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1347                                        .logError("Parser was not found for label " + 3048); //$NON-NLS-1$
1348                        return ""; //$NON-NLS-1$
1349                }
1350        }
1351 
1352        /**
1353         * @generated
1354         */
1355        private String getVariableCharacterisation_3037Text(View view) {
1356                IParser parser = PalladioComponentModelParserProvider
1357                                .getParser(
1358                                                PalladioComponentModelElementTypes.VariableCharacterisation_3037,
1359                                                view.getElement() != null ? view.getElement() : view,
1360                                                PalladioComponentModelVisualIDRegistry
1361                                                                .getType(VariableCharacterisation3EditPart.VISUAL_ID));
1362                if (parser != null) {
1363                        return parser.getPrintString(new EObjectAdapter(
1364                                        view.getElement() != null ? view.getElement() : view),
1365                                        ParserOptions.NONE.intValue());
1366                } else {
1367                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1368                                        .logError("Parser was not found for label " + 3037); //$NON-NLS-1$
1369                        return ""; //$NON-NLS-1$
1370                }
1371        }
1372 
1373        /**
1374         * @generated
1375         */
1376        private String getGuardedBranchTransition_3017Text(View view) {
1377                IParser parser = PalladioComponentModelParserProvider
1378                                .getParser(
1379                                                PalladioComponentModelElementTypes.GuardedBranchTransition_3017,
1380                                                view.getElement() != null ? view.getElement() : view,
1381                                                PalladioComponentModelVisualIDRegistry
1382                                                                .getType(GuardedBranchTransitionEntityNameEditPart.VISUAL_ID));
1383                if (parser != null) {
1384                        return parser.getPrintString(new EObjectAdapter(
1385                                        view.getElement() != null ? view.getElement() : view),
1386                                        ParserOptions.NONE.intValue());
1387                } else {
1388                        PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
1389                                        .logError("Parser was not found for label " + 5018); //$NON-NLS-1$
1390                        return ""; //$NON-NLS-1$
1391                }
1392        }
1393 
1394        /**
1395         * @generated
1396         */
1397        private String getResourceDemandingBehaviour_3018Text(View view) {
1398                return ""; //$NON-NLS-1$
1399        }
1400 
1401        /**
1402         * @generated
1403         */
1404        private String getAbstractActionSuccessor_AbstractAction_4001Text(View view) {
1405                return ""; //$NON-NLS-1$
1406        }
1407 
1408        /**
1409         * @generated
1410         */
1411        private String getRecoveryActionBehaviourFailureHandlingAlternatives__RecoveryActionBehaviour_4004Text(
1412                        View view) {
1413                return ""; //$NON-NLS-1$
1414        }
1415 
1416        /**
1417         * @generated
1418         */
1419        private String getUnknownElementText(View view) {
1420                return "<UnknownElement Visual_ID = " + view.getType() + ">"; //$NON-NLS-1$  //$NON-NLS-2$
1421        }
1422 
1423        /**
1424         * @generated
1425         */
1426        private String getUnresolvedDomainElementProxyText(View view) {
1427                return "<Unresolved domain element Visual_ID = " + view.getType() + ">"; //$NON-NLS-1$  //$NON-NLS-2$
1428        }
1429 
1430        /**
1431         * @generated
1432         */
1433        public void init(ICommonContentExtensionSite aConfig) {
1434        }
1435 
1436        /**
1437         * @generated
1438         */
1439        public void restoreState(IMemento aMemento) {
1440        }
1441 
1442        /**
1443         * @generated
1444         */
1445        public void saveState(IMemento aMemento) {
1446        }
1447 
1448        /**
1449         * @generated
1450         */
1451        public String getDescription(Object anElement) {
1452                return null;
1453        }
1454 
1455        /**
1456         * @generated
1457         */
1458        private boolean isOwnView(View view) {
1459                return ResourceDemandingSEFFEditPart.MODEL_ID
1460                                .equals(PalladioComponentModelVisualIDRegistry.getModelID(view));
1461        }
1462 
1463}

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