Class ImageProviderSwitch
java.lang.Object
org.palladiosimulator.measurementsui.util.MeasurementsSwitch<org.eclipse.swt.graphics.Image>
org.palladiosimulator.measurementsui.wizard.util.ImageProviderSwitch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.graphics.ImagecaseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) The case for assembly contexts.org.eclipse.swt.graphics.ImagecaseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent) The case for basic components.org.eclipse.swt.graphics.ImagecaseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch) The case for branches.org.eclipse.swt.graphics.ImagecaseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition) The case for branch transitions.org.eclipse.swt.graphics.ImagecaseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) The case for entry level system calls.org.eclipse.swt.graphics.ImagecaseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) The case for external call actions.org.eclipse.swt.graphics.ImagecaseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) The case for linking resources.org.eclipse.swt.graphics.ImagecaseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop) The case for loops.org.eclipse.swt.graphics.ImagecaseOperationSignature(org.palladiosimulator.pcm.repository.OperationSignature operationSignature) The case for operation signatures.org.eclipse.swt.graphics.ImagecasePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource) The case for passive resources.org.eclipse.swt.graphics.ImagecaseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) The case for processing resource specifications.org.eclipse.swt.graphics.ImagecaseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer) The case for repositories.org.eclipse.swt.graphics.ImagecaseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) The case for resource containers.org.eclipse.swt.graphics.ImagecaseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff) The case for resource demanding SEFFs.org.eclipse.swt.graphics.ImagecaseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) The case for resource environments.org.eclipse.swt.graphics.ImagecaseRole(org.palladiosimulator.pcm.repository.Role role) The case for roles.org.eclipse.swt.graphics.ImagecaseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour) The case for scenario behaviours.org.eclipse.swt.graphics.ImagecaseSubSystem(org.palladiosimulator.pcm.subsystem.SubSystem subSystem) The case for subsystems.org.eclipse.swt.graphics.ImagecaseSystem(org.palladiosimulator.pcm.system.System system) The case for systems.org.eclipse.swt.graphics.ImagecaseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel) The case for usage models.org.eclipse.swt.graphics.ImagecaseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario) The case for usage scenarios.org.eclipse.swt.graphics.ImagedefaultCase(EObject eObject) The default case.Methods inherited from class org.palladiosimulator.measurementsui.util.MeasurementsSwitch
caseMeasuringPoint, doSwitch
-
Constructor Details
-
ImageProviderSwitch
public ImageProviderSwitch()
-
-
Method Details
-
caseUsageScenario
public org.eclipse.swt.graphics.Image caseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario) Description copied from class:MeasurementsSwitchThe case for usage scenarios. You should override it and add your own logic before using the switch.- Overrides:
caseUsageScenarioin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
usageScenario- the given usage scenario- Returns:
- T
-
caseResourceEnvironment
public org.eclipse.swt.graphics.Image caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) Description copied from class:MeasurementsSwitchThe case for resource environments. You should override it and add your own logic before using the switch.- Overrides:
caseResourceEnvironmentin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
resourceEnvironment- the given resource environment- Returns:
- T
-
caseSystem
public org.eclipse.swt.graphics.Image caseSystem(org.palladiosimulator.pcm.system.System system) Description copied from class:MeasurementsSwitchThe case for systems. You should override it and add your own logic before using the switch.- Overrides:
caseSystemin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
system- the given system- Returns:
- T
-
caseAssemblyContext
public org.eclipse.swt.graphics.Image caseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) Description copied from class:MeasurementsSwitchThe case for assembly contexts. You should override it and add your own logic before using the switch.- Overrides:
caseAssemblyContextin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
assemblyContext- the given assembly context- Returns:
- T
-
caseResourceContainer
public org.eclipse.swt.graphics.Image caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) Description copied from class:MeasurementsSwitchThe case for resource containers. You should override it and add your own logic before using the switch.- Overrides:
caseResourceContainerin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
resourceContainer- the given resource container- Returns:
- T
-
caseProcessingResourceSpecification
public org.eclipse.swt.graphics.Image caseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) Description copied from class:MeasurementsSwitchThe case for processing resource specifications. You should override it and add your own logic before using the switch.- Overrides:
caseProcessingResourceSpecificationin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
processingResourceSpecification- the given processing resource specification- Returns:
- T
-
caseLinkingResource
public org.eclipse.swt.graphics.Image caseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) Description copied from class:MeasurementsSwitchThe case for linking resources. You should override it and add your own logic before using the switch.- Overrides:
caseLinkingResourcein classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
linkingResource- the given linking resource- Returns:
- T
-
caseExternalCallAction
public org.eclipse.swt.graphics.Image caseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) Description copied from class:MeasurementsSwitchThe case for external call actions. You should override it and add your own logic before using the switch.- Overrides:
caseExternalCallActionin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
externalCallAction- the given external call action- Returns:
- T
-
caseEntryLevelSystemCall
public org.eclipse.swt.graphics.Image caseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) Description copied from class:MeasurementsSwitchThe case for entry level system calls. You should override it and add your own logic before using the switch.- Overrides:
caseEntryLevelSystemCallin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
entryLevelSystemCall- the given entry level system call- Returns:
- T
-
caseSubSystem
public org.eclipse.swt.graphics.Image caseSubSystem(org.palladiosimulator.pcm.subsystem.SubSystem subSystem) Description copied from class:MeasurementsSwitchThe case for subsystems. You should override it and add your own logic before using the switch.- Overrides:
caseSubSystemin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
subSystem- the given subsystem- Returns:
- T
-
casePassiveResource
public org.eclipse.swt.graphics.Image casePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource) Description copied from class:MeasurementsSwitchThe case for passive resources. You should override it and add your own logic before using the switch.- Overrides:
casePassiveResourcein classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
passiveResource- the given passive resource- Returns:
- T
-
caseRepository
public org.eclipse.swt.graphics.Image caseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer) Description copied from class:MeasurementsSwitchThe case for repositories. You should override it and add your own logic before using the switch.- Overrides:
caseRepositoryin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
resourceContainer- the given repository- Returns:
- T
-
caseBasicComponent
public org.eclipse.swt.graphics.Image caseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent) Description copied from class:MeasurementsSwitchThe case for basic components. You should override it and add your own logic before using the switch.- Overrides:
caseBasicComponentin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
basicComponent- the given basic component- Returns:
- T
-
caseResourceDemandingSEFF
public org.eclipse.swt.graphics.Image caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff) Description copied from class:MeasurementsSwitchThe case for resource demanding SEFFs. You should override it and add your own logic before using the switch.- Overrides:
caseResourceDemandingSEFFin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
resourceDemandingSeff- the given resource demanding SEFF- Returns:
- T
-
caseScenarioBehaviour
public org.eclipse.swt.graphics.Image caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour) Description copied from class:MeasurementsSwitchThe case for scenario behaviours. You should override it and add your own logic before using the switch.- Overrides:
caseScenarioBehaviourin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
scenarioBehaviour- the given scenario behaviour- Returns:
- T
-
caseUsageModel
public org.eclipse.swt.graphics.Image caseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel) Description copied from class:MeasurementsSwitchThe case for usage models. You should override it and add your own logic before using the switch.- Overrides:
caseUsageModelin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
usageModel- the given usage model- Returns:
- T
-
caseBranch
public org.eclipse.swt.graphics.Image caseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch) Description copied from class:MeasurementsSwitchThe case for branches. You should override it and add your own logic before using the switch.- Overrides:
caseBranchin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
branch- the given branch- Returns:
- T
-
caseBranchTransition
public org.eclipse.swt.graphics.Image caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition) Description copied from class:MeasurementsSwitchThe case for branch transitions. You should override it and add your own logic before using the switch.- Overrides:
caseBranchTransitionin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
branchTransition- the given branch transition- Returns:
- T
-
caseLoop
public org.eclipse.swt.graphics.Image caseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop) Description copied from class:MeasurementsSwitchThe case for loops. You should override it and add your own logic before using the switch.- Overrides:
caseLoopin classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
loop- the given loop- Returns:
- T
-
caseOperationSignature
public org.eclipse.swt.graphics.Image caseOperationSignature(org.palladiosimulator.pcm.repository.OperationSignature operationSignature) Description copied from class:MeasurementsSwitchThe case for operation signatures. You should override it and add your own logic before using the switch.- Overrides:
caseOperationSignaturein classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
operationSignature- the given operation signature- Returns:
- T
-
caseRole
public org.eclipse.swt.graphics.Image caseRole(org.palladiosimulator.pcm.repository.Role role) Description copied from class:MeasurementsSwitchThe case for roles. You should override it and add your own logic before using the switch.- Overrides:
caseRolein classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
role- the given role- Returns:
- T
-
defaultCase
Description copied from class:MeasurementsSwitchThe default case. You should override it and add your own logic before using the switch.- Overrides:
defaultCasein classMeasurementsSwitch<org.eclipse.swt.graphics.Image>- Parameters:
eObject- the given EObject- Returns:
- T
-