public class XBayaGUI extends Object implements EventListener, XBayaExecutionModeListener
| Constructor and Description |
|---|
XBayaGUI(XBayaEngine engine)
Constructs an XBayaEngine.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNode()
Adds a selected component as a node at random position.
|
void |
addWorkflowTabChangeListener(ChangeListener listener) |
boolean |
closeAllGraphCanvas() |
void |
closeGraphCanvas()
Closes the selected graph canvas.
|
void |
eventReceived(Event event)
Called when an event is received.
|
void |
executionModeChanged(XBayaConfiguration config)
Triggers when the execution mode in xbaya is changed
For possition executions modes see,
XBayaConfiguration.XBayaExecutionMode
|
ComponentSelector |
getComponentSelector()
Returns the ComponentTreeViewer.
|
ComponentViewer |
getComponentVIewer() |
XBayaConfiguration |
getConfiguration() |
ErrorWindow |
getErrorWindow()
Returns the ErrorWindow.
|
JFrame |
getFrame()
Returns the Frame.
|
GraphCanvas |
getGraphCanvas()
Return the active GraphPanel.
|
List<GraphCanvas> |
getGraphCanvases() |
MonitorPanel |
getMonitorPane()
Returns the notificationPane.
|
GraphCanvas |
getNewGraphCanvas(String wfName,
String wfDescription) |
XBayaToolBar |
getToolbar()
Returns the toolbar.
|
Workflow |
getWorkflow()
Return the current workflow.
|
WorkflowPropertyWindow |
getWorkflowPropertyWindow() |
void |
maximizeGraphPanel()
Maximizes the Graph Panel.
|
GraphCanvas |
newGraphCanvas(boolean focus) |
GraphCanvas |
newGraphCanvas(boolean focus,
boolean newFreshWorkflow)
Creates a new graph tab.
|
void |
removeWorkflowTabChangeListener(ChangeListener listener) |
void |
selectNextGraphCanvas()
Selects the next graph canvas.
|
void |
selectOrCreateGraphCanvas(Workflow workflow)
Selects a canvas with a specified workflow if any; otherwise create one.
|
void |
setFocus(GraphCanvas graphCanvas) |
boolean |
setupThriftClientData(ThriftServiceType type) |
boolean |
setupThriftClientData(ThriftServiceType type,
boolean force) |
void |
setWorkflow(Workflow workflow)
Sets the workflow.
|
void |
toggleMaximizeGraphPanel()
Toggles the maximization of the Graph Panel.
|
void |
unmaximizeGraphPanel()
Set the size of the graph panel to the original.
|
void |
viewComponentTree() |
public XBayaGUI(XBayaEngine engine)
engine - public MonitorPanel getMonitorPane()
public ComponentSelector getComponentSelector()
public ErrorWindow getErrorWindow()
public JFrame getFrame()
public List<GraphCanvas> getGraphCanvases()
public GraphCanvas getGraphCanvas()
public XBayaToolBar getToolbar()
public GraphCanvas newGraphCanvas(boolean focus)
public GraphCanvas newGraphCanvas(boolean focus, boolean newFreshWorkflow)
focus - public GraphCanvas getNewGraphCanvas(String wfName, String wfDescription)
public void setFocus(GraphCanvas graphCanvas)
graphCanvas - public void selectOrCreateGraphCanvas(Workflow workflow)
workflow - public void addWorkflowTabChangeListener(ChangeListener listener)
public void removeWorkflowTabChangeListener(ChangeListener listener)
public void closeGraphCanvas()
public boolean closeAllGraphCanvas()
public void selectNextGraphCanvas()
public void toggleMaximizeGraphPanel()
public void maximizeGraphPanel()
public void unmaximizeGraphPanel()
public void addNode()
public void eventReceived(Event event)
EventListenereventReceived in interface EventListenerEventListener.eventReceived(Event)public void viewComponentTree()
public ComponentViewer getComponentVIewer()
public void executionModeChanged(XBayaConfiguration config)
XBayaExecutionModeListenerexecutionModeChanged in interface XBayaExecutionModeListenerconfig - - XBaya configuration objectpublic WorkflowPropertyWindow getWorkflowPropertyWindow()
public void setWorkflow(Workflow workflow)
workflow - The workflowpublic Workflow getWorkflow()
public XBayaConfiguration getConfiguration()
public boolean setupThriftClientData(ThriftServiceType type)
public boolean setupThriftClientData(ThriftServiceType type, boolean force)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.