de.cau.cs.kieler.kaom.importer.ptolemy.wizards
Class ImportDiagramsOptionsPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by de.cau.cs.kieler.kaom.importer.ptolemy.wizards.ImportDiagramsOptionsPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class ImportDiagramsOptionsPage
extends WizardPage

First page of the Import Diagrams Wizard.

Rating yellow
2010-03-14 reviewed by haf, msp, pkl

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ImportDiagramsOptionsPage()
          Constructs a new instance.
 
Method Summary
 void createControl(Composite parent)
          
 IWizardPage getNextPage()
          
 boolean isFileSystemSource()
          Checks whether the user wants to import diagrams from the file system or from the workspace.
 boolean isInitializeDiagramFiles()
          Checks whether the user wants to have KAOD files created after the import.
 boolean isOverwriteWithoutWarning()
          Checks whether the user wants existing files to be overwritten without warning.
 void saveDialogSettings()
          Saves the settings to be restored next time the wizard opens.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

ImportDiagramsOptionsPage

public ImportDiagramsOptionsPage()
Constructs a new instance.

Method Detail

isFileSystemSource

public boolean isFileSystemSource()
Checks whether the user wants to import diagrams from the file system or from the workspace.

Returns:
true if the user wants to import diagrams from the file system.

isInitializeDiagramFiles

public boolean isInitializeDiagramFiles()
Checks whether the user wants to have KAOD files created after the import.

Returns:
true if KAOD files should be created.

isOverwriteWithoutWarning

public boolean isOverwriteWithoutWarning()
Checks whether the user wants existing files to be overwritten without warning.

Returns:
true if existing files should be overwritten without warning.

getNextPage

public IWizardPage getNextPage()

Specified by:
getNextPage in interface IWizardPage
Overrides:
getNextPage in class WizardPage

createControl

public void createControl(Composite parent)


saveDialogSettings

public void saveDialogSettings()
Saves the settings to be restored next time the wizard opens.