|
||||||||||
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.wizards.CreateRandomModelWizardPage
public class CreateRandomModelWizardPage
The "New" wizard page allows setting the container for the new file as well as the file name. The page will only accept file name without the extension or with the extension that matches the expected one.
Field Summary | |
---|---|
static boolean |
DEF_DIRECTED
default value for digraph option. |
static float |
DEF_HIERARCHY
default value for probability of hierarchy. |
static float |
DEF_HYPER_NODE
default value for probability of hyper node. |
static int |
DEF_MAX_CONNECTIONS
default value for maximal number of connections. |
static int |
DEF_MIN_CONNECTIONS
default value for minimal number of connections. |
static int |
DEF_NODES
default value for number of nodes. |
static boolean |
DEF_USE_PORTS
default value for port usage. |
static String |
FILE_EXT
extension for graph files. |
static String |
PREF_DIRECTED
preference name for digraph option. |
static String |
PREF_HIERARCHY
preference name for probability of hierarchy. |
static String |
PREF_HYPER_NODE
preference name for probability of hyper node. |
static String |
PREF_MAX_CONNECTIONS
preference name for maximal number of connections. |
static String |
PREF_MIN_CONNECTIONS
preference name for minimal number of connections. |
static String |
PREF_NODES
preference name for number of nodes. |
static String |
PREF_USE_PORTS
preference name for port usage. |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
CreateRandomModelWizardPage(ISelection theselection)
Constructor for SampleNewWizardPage. |
Method Summary | |
---|---|
void |
createControl(Composite parent)
|
String |
getContainerName()
Returns the name of the container. |
boolean |
getDirected()
Returns if the graph will be a digraph. |
String |
getFileName()
Returns the file name. |
float |
getHierarchyProb()
Returns the probability of new hierarchy. |
float |
getHyperNodeProb()
Returns the probability of creating hyper nodes. |
int |
getMaxConnections()
Returns the maximal number of outgoing connections. |
int |
getMinConnections()
Returns the minimal number of outgoing connections. |
int |
getNodes()
Returns the number of nodes. |
boolean |
getUsePorts()
Returns if ports will be used. |
void |
storeDefaults()
Store the current value into 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 String FILE_EXT
public static final String PREF_NODES
public static final String PREF_MIN_CONNECTIONS
public static final String PREF_MAX_CONNECTIONS
public static final String PREF_HIERARCHY
public static final String PREF_HYPER_NODE
public static final String PREF_DIRECTED
public static final String PREF_USE_PORTS
public static final int DEF_NODES
public static final int DEF_MIN_CONNECTIONS
public static final int DEF_MAX_CONNECTIONS
public static final float DEF_HIERARCHY
public static final float DEF_HYPER_NODE
public static final boolean DEF_DIRECTED
public static final boolean DEF_USE_PORTS
Constructor Detail |
---|
public CreateRandomModelWizardPage(ISelection theselection)
theselection
- the current selectionMethod Detail |
---|
public void createControl(Composite parent)
public String getContainerName()
public String getFileName()
public int getNodes()
public int getMinConnections()
public int getMaxConnections()
public float getHierarchyProb()
public float getHyperNodeProb()
public boolean getDirected()
public boolean getUsePorts()
public void storeDefaults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |