|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.widgets.Dialog
com.tensegrity.gui.swt.dialog.SwtBaseDialog
com.tensegrity.gui.swt.dialog.graphtools.SwtGraphCreationDialog
The graph creation dialog is defined in this class. The class uses several configuration panes to allow users to create graphs.
| Field Summary | |
protected org.eclipse.swt.widgets.Button |
animated
checkbox to apply layout animated |
protected org.eclipse.swt.widgets.Button |
applyLayout
checkbox to apply layout |
static int |
CIRCULAR
Specifies the graph type Circular |
protected org.eclipse.swt.widgets.Button |
coloredEdges
checkbox to colored edges checkbox in global panel |
protected org.eclipse.swt.widgets.Button |
coloredNodes
checkbox to colored nodes checkbox in global panel |
static int |
ENERGY
Specifies the graph type Energy |
static int |
HIERARCHICAL
Specifies the graph type hierarchical |
protected org.eclipse.swt.widgets.Button |
newDocCheckBox
check box for the Open in New Document option |
static int |
ORGCHART
Specifies the graph type Org chart |
static int |
RANDOM
Specifies the graph type Random |
protected org.eclipse.swt.widgets.Button |
randomNodeSize
checkbox to ranodm size of nodes in global panel |
static int |
TREE
Specifies the graph type tree |
| Fields inherited from class com.tensegrity.gui.swt.dialog.SwtBaseDialog |
resourceClass, resourcePath |
| Constructor Summary | |
SwtGraphCreationDialog(UIManager uiManager,
org.eclipse.swt.widgets.Display display)
Default Constructor which initializes the dialog. |
|
SwtGraphCreationDialog(UIManager uiManager,
org.eclipse.swt.widgets.Display display,
boolean openInNewDocOptionVisible)
Default Constructor which initializes the dialog. |
|
| Method Summary | |
void |
addActionListener(GraphCreationListener grl)
Adds an Listener. |
void |
removeActionListener(GraphCreationListener grl)
Removes an Listener from the Listener-list. |
| Methods inherited from class com.tensegrity.gui.swt.dialog.SwtBaseDialog |
applyEvList, dispose, getDialog, getTextCompositeLayoutData, getUIManager, installEvList, keyPressed, keyReleased, setDefaultResourceClassAndURL, setDescriptionText, setResourceClassAndURL, setTitleText, show |
| Methods inherited from class org.eclipse.swt.widgets.Dialog |
checkSubclass, getParent, getStyle, getText, setText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TREE
public static final int HIERARCHICAL
public static final int CIRCULAR
public static final int ENERGY
public static final int ORGCHART
public static final int RANDOM
protected org.eclipse.swt.widgets.Button newDocCheckBox
protected org.eclipse.swt.widgets.Button coloredNodes
protected org.eclipse.swt.widgets.Button coloredEdges
protected org.eclipse.swt.widgets.Button randomNodeSize
protected final org.eclipse.swt.widgets.Button applyLayout
protected final org.eclipse.swt.widgets.Button animated
| Constructor Detail |
public SwtGraphCreationDialog(UIManager uiManager,
org.eclipse.swt.widgets.Display display)
Default Constructor which initializes the dialog.
uiManager - the UIManager used to retrieve the displayed textsdisplay - Display necessary to create the internal Shell
public SwtGraphCreationDialog(UIManager uiManager,
org.eclipse.swt.widgets.Display display,
boolean openInNewDocOptionVisible)
Default Constructor which initializes the dialog.
uiManager - the UIManager used to retrieve the
displayed textsdisplay - Display necessary to create the
internal ShellopenInNewDocOptionVisible - if true then an option to open the graph in a
new document is displayed.| Method Detail |
public void addActionListener(GraphCreationListener grl)
grl - the GraphCreationListener to addpublic void removeActionListener(GraphCreationListener grl)
grl - the GraphCreationListener to remove
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||