[graphl-cvs] graphl/src/org/mediavirus/graphl/interaction GraphlManipulator.java
Status: Pre-Alpha
Brought to you by:
flo1
From: Flo L. <fl...@us...> - 2004-08-22 22:31:47
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/interaction In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26842/src/org/mediavirus/graphl/interaction Modified Files: GraphlManipulator.java Log Message: * registering available facets via config.rdf works * zoom factor visible in gui * clicking zoom label resets to 100% * fixed some repainting/relayouting issues Index: GraphlManipulator.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/interaction/GraphlManipulator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GraphlManipulator.java 2 Aug 2004 12:36:49 -0000 1.1 --- GraphlManipulator.java 22 Aug 2004 22:31:32 -0000 1.2 *************** *** 98,102 **** else { oldTranslation = ((GraphlPane)graphPane).getTranslation(); - } } --- 98,101 ---- *************** *** 217,220 **** --- 216,220 ---- e.consume(); moved = true; + graphPane.getGraph().notifyLayoutUpdated(); } else if (dragEdge != null) { *************** *** 227,230 **** --- 227,231 ---- graphPane.repaint(); e.consume(); + graphPane.getGraph().notifyLayoutUpdated(); } else if (edgeNode != null) { *************** *** 237,242 **** pane.setTranslation(diff.getX()+oldTranslation.getX(), diff.getY()+oldTranslation.getY()); } - graphPane.getGraph().notifyLayoutUpdated(); - } --- 238,241 ---- |