|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
de.cau.cs.kieler.keg.diagram.custom.wizards.RandomGraphAnyPage
public class RandomGraphAnyPage
The options page for the ANY graph type.
Field Summary | |
---|---|
static int |
EDGE_DETERMINATION_DENSITY
the id of the density edge determination for the preferences. |
static int |
EDGE_DETERMINATION_EDGES
the id of the NUMBER_OF_EDGES edge determination for the preferences. |
static int |
EDGE_DETERMINATION_OUTGOING
the id of the MIN/MAX_OUTGOING_EDGES edge determination for the preferences. |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
RandomGraphAnyPage()
Constructs a RandomGraphAnyPage. |
Method Summary | |
---|---|
void |
createControl(Composite parent)
|
boolean |
getCycles()
Returns whether cycles are allowed. |
RandomGraphGenerator.EdgeDetermination |
getEdgeDetermination()
Returns the selected edge determination. |
int |
getMaxOutgoingEdges()
Returns the selected maximum number of outgoing edges. |
int |
getMinOutgoingEdges()
Returns the selected minimum number of outgoing edges. |
boolean |
getMultiEdges()
Returns whether multi-edges are allowed. |
int |
getNumberOfEdges()
Returns the selected number of edges. |
int |
getNumberOfNodes()
Returns the selected number of nodes. |
boolean |
getSelfLoops()
Returns whether self-loops are allowed. |
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 |
Field Detail |
---|
public static final int EDGE_DETERMINATION_EDGES
public static final int EDGE_DETERMINATION_DENSITY
public static final int EDGE_DETERMINATION_OUTGOING
Constructor Detail |
---|
public RandomGraphAnyPage()
Method Detail |
---|
public void createControl(Composite parent)
public void savePreferences()
public int getNumberOfNodes()
public RandomGraphGenerator.EdgeDetermination getEdgeDetermination()
public int getNumberOfEdges()
public int getMinOutgoingEdges()
public int getMaxOutgoingEdges()
public boolean getSelfLoops()
public boolean getMultiEdges()
public boolean getCycles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |