Class NewPalladioTemplateWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.editors.sirius.ui.wizard.project.NewPalladioTemplateWizardPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, ISelectionChangedListener, IWizardPage

public class NewPalladioTemplateWizardPage extends WizardPage implements ISelectionChangedListener
The "New" wizard page allows setting the container for the new file as well as the file name. The page will only accept file name without the extension OR with the extension that matches the expected one (.repository).
  • Field Details

    • wizardTreeViewer

      protected TreeViewer wizardTreeViewer
  • Constructor Details

    • NewPalladioTemplateWizardPage

      public NewPalladioTemplateWizardPage(Set<org.palladiosimulator.architecturaltemplates.AT> initiatorATs)
      Constructor for SampleNewWizardPage.
      Parameters:
      pageName -
  • Method Details

    • createControl

      public void createControl(Composite parent)
      Specified by:
      createControl in interface IDialogPage
      See Also:
    • createDescriptionIn

      public void createDescriptionIn(Composite composite)
      Create the description box in the wizard.
      Parameters:
      composite - The parent component to place in.
    • selectionChanged

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

      public void setDescriptionText(String text)
      Set the description in the description area.
      Parameters:
      text - The text to set.
    • getSelectedTemplate

      public org.palladiosimulator.architecturaltemplates.AT getSelectedTemplate()
      Returns:
      the selectedTemplate
    • getUseTemplate

      public boolean getUseTemplate()