Class ImageProviderSwitch
java.lang.Object
org.palladiosimulator.measurementsui.util.MeasurementsSwitch<Image>
org.palladiosimulator.measurementsui.wizard.util.ImageProviderSwitch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseAssemblyContext
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) The case for assembly contexts.caseBasicComponent
(org.palladiosimulator.pcm.repository.BasicComponent basicComponent) The case for basic components.caseBranch
(org.palladiosimulator.pcm.usagemodel.Branch branch) The case for branches.caseBranchTransition
(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition) The case for branch transitions.caseEntryLevelSystemCall
(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) The case for entry level system calls.caseExternalCallAction
(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) The case for external call actions.caseLinkingResource
(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) The case for linking resources.caseLoop
(org.palladiosimulator.pcm.usagemodel.Loop loop) The case for loops.caseOperationSignature
(org.palladiosimulator.pcm.repository.OperationSignature operationSignature) The case for operation signatures.casePassiveResource
(org.palladiosimulator.pcm.repository.PassiveResource passiveResource) The case for passive resources.caseProcessingResourceSpecification
(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) The case for processing resource specifications.caseRepository
(org.palladiosimulator.pcm.repository.Repository resourceContainer) The case for repositories.caseResourceContainer
(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) The case for resource containers.caseResourceDemandingSEFF
(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff) The case for resource demanding SEFFs.caseResourceEnvironment
(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) The case for resource environments.caseRole
(org.palladiosimulator.pcm.repository.Role role) The case for roles.caseScenarioBehaviour
(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour) The case for scenario behaviours.caseSubSystem
(org.palladiosimulator.pcm.subsystem.SubSystem subSystem) The case for subsystems.caseSystem
(org.palladiosimulator.pcm.system.System system) The case for systems.caseUsageModel
(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel) The case for usage models.caseUsageScenario
(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario) The case for usage scenarios.defaultCase
(EObject eObject) The default case.Methods inherited from class org.palladiosimulator.measurementsui.util.MeasurementsSwitch
caseMeasuringPoint, doSwitch
-
Constructor Details
-
ImageProviderSwitch
public ImageProviderSwitch()
-
-
Method Details
-
caseUsageScenario
Description copied from class:MeasurementsSwitch
The case for usage scenarios. You should override it and add your own logic before using the switch.- Overrides:
caseUsageScenario
in classMeasurementsSwitch<Image>
- Parameters:
usageScenario
- the given usage scenario- Returns:
- T
-
caseResourceEnvironment
public Image caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment) Description copied from class:MeasurementsSwitch
The case for resource environments. You should override it and add your own logic before using the switch.- Overrides:
caseResourceEnvironment
in classMeasurementsSwitch<Image>
- Parameters:
resourceEnvironment
- the given resource environment- Returns:
- T
-
caseSystem
Description copied from class:MeasurementsSwitch
The case for systems. You should override it and add your own logic before using the switch.- Overrides:
caseSystem
in classMeasurementsSwitch<Image>
- Parameters:
system
- the given system- Returns:
- T
-
caseAssemblyContext
public Image caseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext) Description copied from class:MeasurementsSwitch
The case for assembly contexts. You should override it and add your own logic before using the switch.- Overrides:
caseAssemblyContext
in classMeasurementsSwitch<Image>
- Parameters:
assemblyContext
- the given assembly context- Returns:
- T
-
caseResourceContainer
public Image caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer) Description copied from class:MeasurementsSwitch
The case for resource containers. You should override it and add your own logic before using the switch.- Overrides:
caseResourceContainer
in classMeasurementsSwitch<Image>
- Parameters:
resourceContainer
- the given resource container- Returns:
- T
-
caseProcessingResourceSpecification
public Image caseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification) Description copied from class:MeasurementsSwitch
The case for processing resource specifications. You should override it and add your own logic before using the switch.- Overrides:
caseProcessingResourceSpecification
in classMeasurementsSwitch<Image>
- Parameters:
processingResourceSpecification
- the given processing resource specification- Returns:
- T
-
caseLinkingResource
public Image caseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource) Description copied from class:MeasurementsSwitch
The case for linking resources. You should override it and add your own logic before using the switch.- Overrides:
caseLinkingResource
in classMeasurementsSwitch<Image>
- Parameters:
linkingResource
- the given linking resource- Returns:
- T
-
caseExternalCallAction
public Image caseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction) Description copied from class:MeasurementsSwitch
The case for external call actions. You should override it and add your own logic before using the switch.- Overrides:
caseExternalCallAction
in classMeasurementsSwitch<Image>
- Parameters:
externalCallAction
- the given external call action- Returns:
- T
-
caseEntryLevelSystemCall
public Image caseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall) Description copied from class:MeasurementsSwitch
The case for entry level system calls. You should override it and add your own logic before using the switch.- Overrides:
caseEntryLevelSystemCall
in classMeasurementsSwitch<Image>
- Parameters:
entryLevelSystemCall
- the given entry level system call- Returns:
- T
-
caseSubSystem
Description copied from class:MeasurementsSwitch
The case for subsystems. You should override it and add your own logic before using the switch.- Overrides:
caseSubSystem
in classMeasurementsSwitch<Image>
- Parameters:
subSystem
- the given subsystem- Returns:
- T
-
casePassiveResource
public Image casePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource) Description copied from class:MeasurementsSwitch
The case for passive resources. You should override it and add your own logic before using the switch.- Overrides:
casePassiveResource
in classMeasurementsSwitch<Image>
- Parameters:
passiveResource
- the given passive resource- Returns:
- T
-
caseRepository
Description copied from class:MeasurementsSwitch
The case for repositories. You should override it and add your own logic before using the switch.- Overrides:
caseRepository
in classMeasurementsSwitch<Image>
- Parameters:
resourceContainer
- the given repository- Returns:
- T
-
caseBasicComponent
Description copied from class:MeasurementsSwitch
The case for basic components. You should override it and add your own logic before using the switch.- Overrides:
caseBasicComponent
in classMeasurementsSwitch<Image>
- Parameters:
basicComponent
- the given basic component- Returns:
- T
-
caseResourceDemandingSEFF
public Image caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff) Description copied from class:MeasurementsSwitch
The case for resource demanding SEFFs. You should override it and add your own logic before using the switch.- Overrides:
caseResourceDemandingSEFF
in classMeasurementsSwitch<Image>
- Parameters:
resourceDemandingSeff
- the given resource demanding SEFF- Returns:
- T
-
caseScenarioBehaviour
public Image caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour) Description copied from class:MeasurementsSwitch
The case for scenario behaviours. You should override it and add your own logic before using the switch.- Overrides:
caseScenarioBehaviour
in classMeasurementsSwitch<Image>
- Parameters:
scenarioBehaviour
- the given scenario behaviour- Returns:
- T
-
caseUsageModel
Description copied from class:MeasurementsSwitch
The case for usage models. You should override it and add your own logic before using the switch.- Overrides:
caseUsageModel
in classMeasurementsSwitch<Image>
- Parameters:
usageModel
- the given usage model- Returns:
- T
-
caseBranch
Description copied from class:MeasurementsSwitch
The case for branches. You should override it and add your own logic before using the switch.- Overrides:
caseBranch
in classMeasurementsSwitch<Image>
- Parameters:
branch
- the given branch- Returns:
- T
-
caseBranchTransition
public Image caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition) Description copied from class:MeasurementsSwitch
The case for branch transitions. You should override it and add your own logic before using the switch.- Overrides:
caseBranchTransition
in classMeasurementsSwitch<Image>
- Parameters:
branchTransition
- the given branch transition- Returns:
- T
-
caseLoop
Description copied from class:MeasurementsSwitch
The case for loops. You should override it and add your own logic before using the switch.- Overrides:
caseLoop
in classMeasurementsSwitch<Image>
- Parameters:
loop
- the given loop- Returns:
- T
-
caseOperationSignature
public Image caseOperationSignature(org.palladiosimulator.pcm.repository.OperationSignature operationSignature) Description copied from class:MeasurementsSwitch
The case for operation signatures. You should override it and add your own logic before using the switch.- Overrides:
caseOperationSignature
in classMeasurementsSwitch<Image>
- Parameters:
operationSignature
- the given operation signature- Returns:
- T
-
caseRole
Description copied from class:MeasurementsSwitch
The case for roles. You should override it and add your own logic before using the switch.- Overrides:
caseRole
in classMeasurementsSwitch<Image>
- Parameters:
role
- the given role- Returns:
- T
-
defaultCase
Description copied from class:MeasurementsSwitch
The default case. You should override it and add your own logic before using the switch.- Overrides:
defaultCase
in classMeasurementsSwitch<Image>
- Parameters:
eObject
- the given EObject- Returns:
- T
-