Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32158/src/org/mediavirus/graphl/graph
Modified Files:
Node.java
Log Message:
* added martin klinke's contributions (File>New and mousewheel zooming)
* implemented facet configuration from rdf config file
* added configuration data to config.rdf
* removed historic JGraphPane, merged with GraphlPane
* factored out vocabulary registry mechanism from GraphlPane
Index: Node.java
===================================================================
RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph/Node.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Node.java 20 Aug 2004 12:38:52 -0000 1.7
--- Node.java 21 Aug 2004 22:31:04 -0000 1.8
***************
*** 60,64 ****
/**
! * This must only be called by the painter registry, to set the current painter (be it
* assigned to this node, the type or per default) for performance reasons. All other
* classes should use the method
--- 60,64 ----
/**
! * This must only be called by the facet registry, to set the current painter (be it
* assigned to this node, the type or per default) for performance reasons. All other
* classes should use the method
***************
*** 70,75 ****
--- 70,87 ----
public void setCurrentPainter(NodePainter painter);
+ /**
+ * @return The node layouter that is set for rendering this node.
+ */
public NodeLayouter getCurrentLayouter();
+ /**
+ * This must only be called by the facet registry, to set the current layouter (be it
+ * assigned to this node, the type or per default) for performance reasons. All other
+ * classes should use the method
+ * @see org.mediavirus.graphl.view.FacetRegistry#setLayouterForNode() to set a specific
+ * layouter for this node.
+ *
+ * @param layouter The NodeLayouter that is currently rendering this node.
+ */
public void setCurrentLayouter(NodeLayouter layouter);
|