Class ChooseMeasuringpointWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.measurementsui.wizard.pages.ChooseMeasuringpointWizardPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class ChooseMeasuringpointWizardPage extends WizardPage
This is the wizard page for the first step of the creation of a measuring point. It creates all necessary ui elements like the page itself, tabs and tree viewers. It provides function to dynamically show info texts, dynamically choose the next wizard page
  • Constructor Details

    • ChooseMeasuringpointWizardPage

      public ChooseMeasuringpointWizardPage(MeasuringPointSelectionWizardModel selectionWizardModel)
      Constructor for the second wizard page, sets structural features like the title, the name of the page and the description
      Parameters:
      selectionWizardModel - the needed wizard model
  • Method Details

    • createControl

      public void createControl(Composite parent)
      Creates the second page of the wizard, which shows a tabbed table of measuringpoints, either existing or those which can be created
      Parameters:
      parent -
    • getNextPage

      public IWizardPage getNextPage()
      overrides the getNextPage() method of the wizard page to allow a dynamic flow of wizard pages, depending on the selected item
      Specified by:
      getNextPage in interface IWizardPage
      Overrides:
      getNextPage in class WizardPage
    • showMessage

      public void showMessage(TreeItem item)
      shows an informative message on the top, depending on the chosen element.
      Parameters:
      item - the selected item
    • performAddingOperations

      public void performAddingOperations()
      adds the created measuringpoint to the monitor
      Parameters:
      validatedNextPressed -
    • performHelp

      public void performHelp()
      Specified by:
      performHelp in interface IDialogPage
      Overrides:
      performHelp in class DialogPage