@MetaInfServices(value=GraphGUIHelper.class) public class RegulatoryGraphGUIHelper extends Object implements GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
Constructor and Description |
---|
RegulatoryGraphGUIHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCopyPaste(RegulatoryGraph graph)
Does this graph type support copy/paste actions?
|
GUIEditor<RegulatoryMultiEdge> |
getEdgeEditionPanel(RegulatoryGraph graph)
Create an edition panel for edges.
|
List<EditAction> |
getEditActions(RegulatoryGraph graph) |
String |
getEditingTabLabel(RegulatoryGraph graph)
Retrieve the Title used for the selection edition tab
|
FileFilter |
getFileFilter()
Provide the file filter to apply to a file chooser
|
Class |
getGraphClass()
Get the graph class the helper helps to manage
|
JPanel |
getInfoPanel(RegulatoryGraph graph)
Create an Information Panel
|
GUIEditor<RegulatoryGraph> |
getMainEditionPanel(RegulatoryGraph graph)
Create an edition panel for the graph itself.
|
GUIEditor<RegulatoryNode> |
getNodeEditionPanel(RegulatoryGraph graph)
Create an edition panel for nodes.
|
JPanel |
getSaveOptionPanel(RegulatoryGraph graph)
Create a panel containing the option for graph saving
|
public Class getGraphClass()
GraphGUIHelper
getGraphClass
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
public List<EditAction> getEditActions(RegulatoryGraph graph)
getEditActions
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the edited graphpublic GUIEditor<RegulatoryGraph> getMainEditionPanel(RegulatoryGraph graph)
GraphGUIHelper
getMainEditionPanel
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the graph requiring the panelpublic String getEditingTabLabel(RegulatoryGraph graph)
GraphGUIHelper
getEditingTabLabel
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the graph requiring the panelpublic GUIEditor<RegulatoryNode> getNodeEditionPanel(RegulatoryGraph graph)
GraphGUIHelper
getNodeEditionPanel
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the graph requiring the panelpublic GUIEditor<RegulatoryMultiEdge> getEdgeEditionPanel(RegulatoryGraph graph)
GraphGUIHelper
getEdgeEditionPanel
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the graph requiring the panelpublic JPanel getInfoPanel(RegulatoryGraph graph)
GraphGUIHelper
getInfoPanel
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the graph requiring the panelpublic FileFilter getFileFilter()
GraphGUIHelper
getFileFilter
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
public JPanel getSaveOptionPanel(RegulatoryGraph graph)
GraphGUIHelper
getSaveOptionPanel
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
graph
- the edited graphpublic boolean canCopyPaste(RegulatoryGraph graph)
GraphGUIHelper
canCopyPaste
in interface GraphGUIHelper<RegulatoryGraph,RegulatoryNode,RegulatoryMultiEdge>
Copyright © 2005–2020. All rights reserved.