de.cau.cs.kieler.keg.importer.wizards
Class ImportGraphOptionsPage

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

public class ImportGraphOptionsPage
extends WizardPage

The wizard page from which to select the source graph type and the options for the import.

Rating red

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ImportGraphOptionsPage()
          Constructs the ImportGraphOptionsPage.
 
Method Summary
 void createControl(Composite parent)
          
 boolean getCreateDiagramFiles()
          Returns whether to create diagram files for the created graphs.
 AbstractImporter getImporter()
          Returns the selected importer.
 boolean getOpenDiagramFiles()
          Returns whether to open the created diagram files.
 IPropertyHolder getOptions()
          Returns the selected options.
 void savePreferences()
          Saves the pages preferences.
 void setVisible(boolean visible)
          
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, 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
 
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
 

Constructor Detail

ImportGraphOptionsPage

public ImportGraphOptionsPage()
Constructs the ImportGraphOptionsPage.

Method Detail

createControl

public void createControl(Composite parent)


getImporter

public AbstractImporter getImporter()
Returns the selected importer.

Returns:
the selected importer

getCreateDiagramFiles

public boolean getCreateDiagramFiles()
Returns whether to create diagram files for the created graphs.

Returns:
true if diagram files have to be created for the graphs; false else

getOpenDiagramFiles

public boolean getOpenDiagramFiles()
Returns whether to open the created diagram files.

Returns:
true if the diagram files have to be opened; false else

getOptions

public IPropertyHolder getOptions()
Returns the selected options.

Returns:
the selected options or null if the dialog has not successfully finished

savePreferences

public void savePreferences()
Saves the pages preferences.


setVisible

public void setVisible(boolean visible)

Specified by:
setVisible in interface IDialogPage
Overrides:
setVisible in class DialogPage