Class ImageProviderSwitch

java.lang.Object
org.palladiosimulator.measurementsui.util.MeasurementsSwitch<org.eclipse.swt.graphics.Image>
org.palladiosimulator.measurementsui.wizard.util.ImageProviderSwitch

public class ImageProviderSwitch extends MeasurementsSwitch<org.eclipse.swt.graphics.Image>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.swt.graphics.Image
    caseAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
    The case for assembly contexts.
    org.eclipse.swt.graphics.Image
    caseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
    The case for basic components.
    org.eclipse.swt.graphics.Image
    caseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch)
    The case for branches.
    org.eclipse.swt.graphics.Image
    caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition)
    The case for branch transitions.
    org.eclipse.swt.graphics.Image
    caseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall entryLevelSystemCall)
    The case for entry level system calls.
    org.eclipse.swt.graphics.Image
    caseExternalCallAction(org.palladiosimulator.pcm.seff.ExternalCallAction externalCallAction)
    The case for external call actions.
    org.eclipse.swt.graphics.Image
    caseLinkingResource(org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource)
    The case for linking resources.
    org.eclipse.swt.graphics.Image
    caseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop)
    The case for loops.
    org.eclipse.swt.graphics.Image
    caseOperationSignature(org.palladiosimulator.pcm.repository.OperationSignature operationSignature)
    The case for operation signatures.
    org.eclipse.swt.graphics.Image
    casePassiveResource(org.palladiosimulator.pcm.repository.PassiveResource passiveResource)
    The case for passive resources.
    org.eclipse.swt.graphics.Image
    caseProcessingResourceSpecification(org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification processingResourceSpecification)
    The case for processing resource specifications.
    org.eclipse.swt.graphics.Image
    caseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer)
    The case for repositories.
    org.eclipse.swt.graphics.Image
    caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer)
    The case for resource containers.
    org.eclipse.swt.graphics.Image
    caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff)
    The case for resource demanding SEFFs.
    org.eclipse.swt.graphics.Image
    caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment)
    The case for resource environments.
    org.eclipse.swt.graphics.Image
    caseRole(org.palladiosimulator.pcm.repository.Role role)
    The case for roles.
    org.eclipse.swt.graphics.Image
    caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)
    The case for scenario behaviours.
    org.eclipse.swt.graphics.Image
    caseSubSystem(org.palladiosimulator.pcm.subsystem.SubSystem subSystem)
    The case for subsystems.
    org.eclipse.swt.graphics.Image
    caseSystem(org.palladiosimulator.pcm.system.System system)
    The case for systems.
    org.eclipse.swt.graphics.Image
    caseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel)
    The case for usage models.
    org.eclipse.swt.graphics.Image
    caseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario)
    The case for usage scenarios.
    org.eclipse.swt.graphics.Image
    The default case.

    Methods inherited from class org.palladiosimulator.measurementsui.util.MeasurementsSwitch

    caseMeasuringPoint, doSwitch

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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: MeasurementsSwitch
      The case for usage scenarios. You should override it and add your own logic before using the switch.
      Overrides:
      caseUsageScenario in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for resource environments. You should override it and add your own logic before using the switch.
      Overrides:
      caseResourceEnvironment in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for systems. You should override it and add your own logic before using the switch.
      Overrides:
      caseSystem in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for assembly contexts. You should override it and add your own logic before using the switch.
      Overrides:
      caseAssemblyContext in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for resource containers. You should override it and add your own logic before using the switch.
      Overrides:
      caseResourceContainer in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for processing resource specifications. You should override it and add your own logic before using the switch.
      Overrides:
      caseProcessingResourceSpecification in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for linking resources. You should override it and add your own logic before using the switch.
      Overrides:
      caseLinkingResource in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for external call actions. You should override it and add your own logic before using the switch.
      Overrides:
      caseExternalCallAction in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for entry level system calls. You should override it and add your own logic before using the switch.
      Overrides:
      caseEntryLevelSystemCall in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for subsystems. You should override it and add your own logic before using the switch.
      Overrides:
      caseSubSystem in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for passive resources. You should override it and add your own logic before using the switch.
      Overrides:
      casePassiveResource in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for repositories. You should override it and add your own logic before using the switch.
      Overrides:
      caseRepository in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for basic components. You should override it and add your own logic before using the switch.
      Overrides:
      caseBasicComponent in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for resource demanding SEFFs. You should override it and add your own logic before using the switch.
      Overrides:
      caseResourceDemandingSEFF in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for scenario behaviours. You should override it and add your own logic before using the switch.
      Overrides:
      caseScenarioBehaviour in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for usage models. You should override it and add your own logic before using the switch.
      Overrides:
      caseUsageModel in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for branches. You should override it and add your own logic before using the switch.
      Overrides:
      caseBranch in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for branch transitions. You should override it and add your own logic before using the switch.
      Overrides:
      caseBranchTransition in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for loops. You should override it and add your own logic before using the switch.
      Overrides:
      caseLoop in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for operation signatures. You should override it and add your own logic before using the switch.
      Overrides:
      caseOperationSignature in class MeasurementsSwitch<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: MeasurementsSwitch
      The case for roles. You should override it and add your own logic before using the switch.
      Overrides:
      caseRole in class MeasurementsSwitch<org.eclipse.swt.graphics.Image>
      Parameters:
      role - the given role
      Returns:
      T
    • defaultCase

      public org.eclipse.swt.graphics.Image defaultCase(EObject eObject)
      Description copied from class: MeasurementsSwitch
      The default case. You should override it and add your own logic before using the switch.
      Overrides:
      defaultCase in class MeasurementsSwitch<org.eclipse.swt.graphics.Image>
      Parameters:
      eObject - the given EObject
      Returns:
      T