de.cau.cs.kieler.keg.diagram.custom.wizards
Class RandomGraphTypePage

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

public class RandomGraphTypePage
extends WizardPage

The random graph wizard page which lets the user select a graph type. The graph type implies what algorithm is used for the generation.

Rating red

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
RandomGraphTypePage()
          Constructs a RandomGraphTypePage.
 
Method Summary
 void createControl(Composite parent)
          
 RandomGraphGenerator.GraphType getGraphType()
          Returns the selected graph type.
 void savePreferences()
          Saves the selected options to the preference store.
 
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, 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

RandomGraphTypePage

public RandomGraphTypePage()
Constructs a RandomGraphTypePage.

Method Detail

createControl

public void createControl(Composite parent)


savePreferences

public void savePreferences()
Saves the selected options to the preference store.


getGraphType

public RandomGraphGenerator.GraphType getGraphType()
Returns the selected graph type.

Returns:
the graph type