Class SelectRepositoryWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.analyzer.quality.presentation.SelectRepositoryWizardPage
All Implemented Interfaces:
EventListener, IDialogPage, IMessageProvider, IWizardPage, ModifyListener, SWTEventListener

public class SelectRepositoryWizardPage extends WizardPage implements ModifyListener
Allows to select a Palladio repository file. Supports preselection of files.
  • Field Details

    • txtRepository

      protected Text txtRepository
      Text field for the repository URI.
    • selection

      protected IStructuredSelection selection
      The selection used to determine the repository.
  • Constructor Details

    • SelectRepositoryWizardPage

      public SelectRepositoryWizardPage(String pageName)
      Creates a new page.
      Parameters:
      pageName - Name of the page.
  • Method Details

    • init

      public void init(IStructuredSelection selection)
      Initializes the page.
      Parameters:
      selection - Preselected repository file.
    • getRepositoryFileUri

      public String getRepositoryFileUri()
      Returns:
      EMF-parsable URI of the selected repository file.
    • createControl

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

      protected void validate()
      Validates the input on this pages and set the status accordingly.
    • modifyText

      public void modifyText(ModifyEvent e)
      Specified by:
      modifyText in interface ModifyListener