Class SLOSelectDefaultCombinationsPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.servicelevelobjective.edp2.visualization.wizards.SLOSelectDefaultCombinationsPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, ISelectionChangedListener, IWizardPage

public class SLOSelectDefaultCombinationsPage extends WizardPage implements ISelectionChangedListener
Implementation of a WizardPage that contains a list of visualizations which are able to display the selected data. The list contains both the basic defaults, i.e. registered visualizations only, and defaults as described by extensions to the extension point org.palladiosimulator.edp2.visualization.defaultSequences.
  • Constructor Details

    • SLOSelectDefaultCombinationsPage

      protected SLOSelectDefaultCombinationsPage(String pageName)
      Constructor. Used if this page is invoked without assigning a source.
      Parameters:
      pageName - the name of this WizardPage.
    • SLOSelectDefaultCombinationsPage

      protected SLOSelectDefaultCombinationsPage(String pageName, org.palladiosimulator.edp2.datastream.IDataSource selectedSource)
      Constructor
      Parameters:
      pageName - the name of this WizardPage
      selectedSource - the source which was selected to invoke the wizard.
  • Method Details

    • canFlipToNextPage

      public boolean canFlipToNextPage()
      Specified by:
      canFlipToNextPage in interface IWizardPage
      Overrides:
      canFlipToNextPage in class WizardPage
    • createControl

      public void createControl(Composite parent)
      Specified by:
      createControl in interface IDialogPage
    • selectionChanged

      public void selectionChanged(SelectionChangedEvent event)
      Specified by:
      selectionChanged in interface ISelectionChangedListener
    • updatePageStatus

      public IStatus updatePageStatus()
      Method which handles the status of the whole WizardPage based on the different states resulting from inputs.
      Returns:
      the page Status
    • setSelectedDefault

      public void setSelectedDefault(org.palladiosimulator.edp2.datastream.chaindescription.ChainDescription selection)
      Forwards the chosen variant to the wizard.
      Parameters:
      selection -
    • initializePage

      public void initializePage(org.palladiosimulator.edp2.datastream.IDataSource selectedSource, boolean showSLOonly)
      Initializes the page with a new IDataSource and a new showSLOonly value.
      Parameters:
      selectedSource - the new source
      showSLOonly - the new value for this.showSLOonly
    • setShowSLOonly

      public void setShowSLOonly(boolean showSLOonly)