[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl Editor.java, 1.14, 1.15
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2009-09-14 16:23:08
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20840/src/net/sourceforge/bprocessor/gl Modified Files: Editor.java Log Message: Brunata Index: Editor.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/Editor.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Editor.java 25 May 2009 12:00:40 -0000 1.14 --- Editor.java 14 Sep 2009 16:22:59 -0000 1.15 *************** *** 67,70 **** --- 67,72 ---- */ private static boolean multi = true; + + private static boolean viewing = false; /** GL canvas */ *************** *** 109,112 **** --- 111,130 ---- } + /** + * + * @param value boolean + */ + public static void setViewing(boolean value) { + viewing = value; + } + + /** + * + * @return viewing + */ + public static boolean getViewing() { + return viewing; + } + private void setControlPanel(JComponent panel) { if (controlpanel != null) { *************** *** 252,256 **** view = new View(this); ! (new ViewToolbarFactory()).registerToolbar(this); glc.addGLEventListener(view); GUI.getInstance().incrementPB(); --- 270,276 ---- view = new View(this); ! ViewToolbarFactory.instance().registerToolbar(this); ! ViewToolbarFactory.instance().setup(); ! glc.addGLEventListener(view); GUI.getInstance().incrementPB(); |