[graphl-cvs] graphl/src/org/mediavirus/graphl/gui NodeContextMenu.java EdgeContextMenu.java
Status: Pre-Alpha
Brought to you by:
flo1
|
From: Flo L. <fl...@us...> - 2004-10-14 13:03:51
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12051/src/org/mediavirus/graphl/gui Modified Files: NodeContextMenu.java EdgeContextMenu.java Log Message: - FEATURE: added z-index support for painting nodes & edges - FEATURE: BoxNodePainter draws rounded rectangles - FEATURE: Font for boxnodepainter is configurable - FEATURE: labelcolor of edgepainter is configurable - FEATURE: added utility functions for namespace compression/expansion - REFACTOR: moved layouter to graphpane - BUG: removed value property from graphelements - BUG: stopping layouter when displaying contextmenus etc. - BUG: fixed panning after startup - removed obsolete commented-out code Index: EdgeContextMenu.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/gui/EdgeContextMenu.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** EdgeContextMenu.java 4 Oct 2004 10:21:02 -0000 1.11 --- EdgeContextMenu.java 14 Oct 2004 13:03:02 -0000 1.12 *************** *** 129,132 **** --- 129,138 ---- } + public void setVisible(boolean visible) { + super.setVisible(visible); + if (!visible) { + graphlPane.resumeLayouter(); + } + } private JMenu buildTypeSubMenu(Edge edge) { Index: NodeContextMenu.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/gui/NodeContextMenu.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NodeContextMenu.java 4 Oct 2004 10:21:02 -0000 1.12 --- NodeContextMenu.java 14 Oct 2004 13:03:02 -0000 1.13 *************** *** 128,131 **** --- 128,138 ---- this.graphlPane = parent; } + + public void setVisible(boolean visible) { + super.setVisible(visible); + if (!visible) { + graphlPane.resumeLayouter(); + } + } |