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

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.RandomGraphTreePage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class RandomGraphTreePage
extends WizardPage

The options page for the TREE graph type.

Rating red

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
RandomGraphTreePage()
          Constructs a RandomGraphTreePage.
 
Method Summary
 void createControl(Composite parent)
          
 int getMaxDegree()
          Returns the selected maximum node degree.
 int getMaxWidth()
          Returns the selected maximum tree width.
 int getNumberOfNodes()
          Returns the selected number of nodes.
 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

RandomGraphTreePage

public RandomGraphTreePage()
Constructs a RandomGraphTreePage.

Method Detail

createControl

public void createControl(Composite parent)


savePreferences

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


getNumberOfNodes

public int getNumberOfNodes()
Returns the selected number of nodes.

Returns:
the number of nodes

getMaxDegree

public int getMaxDegree()
Returns the selected maximum node degree.

Returns:
the maximum node degree

getMaxWidth

public int getMaxWidth()
Returns the selected maximum tree width.

Returns:
the maximum tree width