org.netbeans.modules.sql.framework.ui.graph .IGraphView All known Subclasses: org.netbeans.modules.sql.framework.ui.graph.impl .GraphView ,IGraphView public interface IGraphView extends ICommand (Code) author: radval
addLink public void addLink(IGraphPort from, IGraphPort to)(Code) add a link
Parameters: from - IGraphPortParameters: to - IGraphPort
addLink public void addLink(IGraphLink link)(Code) add a graph link
Parameters: link - graph link
addNode public void addNode(IGraphNode node)(Code) add a IGraphNode
Parameters: node - IGraphNode
autoLayout public void autoLayout()(Code) autolayout all the graph objects
canEdit public boolean canEdit()(Code) can this graph be edited
true if graph is edited
clearAll public void clearAll()(Code) remove all the view and document objects
clearSelection public void clearSelection()(Code)
collapseAll public void collapseAll()(Code) collapse all the graph objects
deleteLinks public void deleteLinks(Collection links)(Code) delete a collection of links
deleteNode public void deleteNode(IGraphNode node)(Code) delete a graph node
Parameters: node - graph node
execute public void execute(String command, Object [] args)(Code) Execute a command
Parameters: command - - commandParameters: args - - arguments
expandAll public void expandAll()(Code) Expand all the graph objects
getAction public Action getAction(Class actionClass)(Code) get a action based on class name
Parameters: actionClass - action
getGraphActions public List getGraphActions()(Code) get the graph actions that need to be shown in popup menu
a list of GraphAction, null in list represents a seperator
getGraphController public IGraphController getGraphController()(Code) get the graph controller of this view
graph controller
getGraphFactory public Object getGraphFactory()(Code) get the graph factory
graph factory
getGraphModel public Object getGraphModel()(Code) get graph model
graph model
getGraphViewContainer public Object getGraphViewContainer()(Code) get graph view manager which can manage this view
graph view manager
highlightInvalidNode public void highlightInvalidNode(Object dataObj, boolean createSel)(Code) Highlight invalid graph node
Parameters: dataObj - data object whose graph node needs to be highlightedParameters: createSel - if true will create a new selection otherwise add the graph nodeto existing selection
isModifiable public boolean isModifiable()(Code) check if this graph view is modifiable
modifiable
printView public void printView()(Code) Print the view
removeLink public void removeLink(IGraphPort from, IGraphPort to)(Code) Remove a link
Parameters: from - IGraphPortParameters: to - IGraphPort
removeNode public void removeNode(IGraphNode node)(Code) Remove an IGraphNode
Parameters: node - IGraphNode
resetSelectionColors public void resetSelectionColors()(Code) Reset selection colors
setGraphActions public void setGraphActions(List actions)(Code) set graph actions on this view
Parameters: actions - list of GraphAction
setGraphController public void setGraphController(IGraphController controller)(Code) set the graph controller on this view
Parameters: controller - graph controller
setGraphFactory public void setGraphFactory(Object gFactory)(Code) set the graph factory which is used for creating nodes in this graph
Parameters: gFactory - graph node factory
setGraphModel public void setGraphModel(Object model)(Code) set the graph model
Parameters: model - graph model
setGraphViewContainer public void setGraphViewContainer(Object mgr)(Code) set the graph view manager which this view can refer to
Parameters: mgr - graph view manager
setModifiable public void setModifiable(boolean b)(Code) set this graph view modifiable
Parameters: b - modifiable
setToolBar public void setToolBar(IToolBar toolBar)(Code) set the toolbar
Parameters: toolBar -