|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RootGraph
Every graph and subgraph strcuture needs a root. This root is represented by the RootGraph. It gives access to some methods which are not supported by nested graphs.
Method Summary | |
---|---|
void |
clearPreLayoutFilter()
Reset the pre-layout-filter function. |
String |
getName()
|
List<Filter> |
getPostLayoutFilterList()
Here you can add some post-layout-filters which are later selectable in the graphical user interface. |
List<Filter> |
getPreLayoutFilterList()
Here you can add some pre-layout-filters which are later selectable in the graphical user interface. |
void |
loadGraph(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
Loads the graph from an eclipse file. |
void |
loadGraph(InputStream in)
Loads the graph from an stream |
void |
loadGraph(String file)
Loads the graph from an GraphML-File |
void |
saveGraph(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
Saves the graph to an eclipse file The method is needed for the eclipse integration. |
void |
saveGraph(OutputStream out)
Saves the graph to an output stream |
void |
saveGraph(String file)
Saves the graph to an GraphML-File |
void |
setName(String name)
Here you can give the graph a name. |
void |
setPreLayoutFilter(Filter filter)
Set filter function which is applied before the layouter runs. |
Methods inherited from interface de.postfuse.ui.Graph |
---|
addEdge, addEdge, addNode, addNode, addSubgraph, addSubgraph, getDefaultEdgeDesign, getDefaultNodeDesign, getDefaultSubgraphDesign, setDefaultEdgeDesign, setDefaultNodeDesign, setDefaultSubgraphDesign |
Method Detail |
---|
void setPreLayoutFilter(Filter filter)
filter
- the new filtervoid clearPreLayoutFilter()
List<Filter> getPostLayoutFilterList()
List<Filter> getPreLayoutFilterList()
String getName()
void setName(String name)
name
- void loadGraph(String file) throws prefuse.data.io.DataIOException
file
- an absolute file path
prefuse.data.io.DataIOException
void loadGraph(InputStream in) throws prefuse.data.io.DataIOException
in
- an open input stream
prefuse.data.io.DataIOException
void loadGraph(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor) throws prefuse.data.io.DataIOException
file
- an eclipse file container.monitor
- an eclipse progress monitor
prefuse.data.io.DataIOException
void saveGraph(String file) throws prefuse.data.io.DataIOException
file
- an absolute file path
prefuse.data.io.DataIOException
void saveGraph(OutputStream out) throws prefuse.data.io.DataIOException
out
-
prefuse.data.io.DataIOException
void saveGraph(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor) throws prefuse.data.io.DataIOException
file
- an eclipse file containermonitor
- an eclipse progress monitor
prefuse.data.io.DataIOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |