Class DiscoverLocalDirectoryPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.edp2.ui.wizards.datasource.DiscoverLocalDirectoryPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class DiscoverLocalDirectoryPage extends WizardPage
Wizard page to discover and select a local directory based repository.
  • Constructor Details

    • DiscoverLocalDirectoryPage

      public DiscoverLocalDirectoryPage()
  • Method Details

    • createControl

      public void createControl(Composite parent)
    • createDirectoryInputSection

      public void createDirectoryInputSection(Composite container, String modelFileLabel, Text textFileNameToLoad)
      Creates a section in the parent container for selection files. Creates a Group with a label. Inside the group, a text field for the file with the given extension, a button to load from the workspace and a button to load from the file system are displayed.
      Parameters:
      container - The parent container
      modelFileLabel - The label of the section around the file input text field
      textFileNameToLoad - The text field that contains the filename. Its parent will be reset to the appropriate group within this method.
    • getRepositoryOnFinish

      public Repository getRepositoryOnFinish()