Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv10148/src/net/sourceforge/bprocessor/gl/view
Modified Files:
PopupMenu.java
Log Message:
Index: PopupMenu.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/PopupMenu.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** PopupMenu.java 12 Feb 2010 11:44:24 -0000 1.39
--- PopupMenu.java 25 Feb 2010 14:43:52 -0000 1.40
***************
*** 360,364 ****
menu.add(action);
}
- menu.add(getFrameMenu(sp));
{
AbstractAction action = new SpaceMenuAction(sp, "Frame..") {
--- 360,363 ----
***************
*** 894,920 ****
}
- private JMenu getFrameMenu(Space net) {
- JMenu menu = new JMenu("Frame");
- {
- AbstractAction action = new SpaceMenuAction(net, "Initialize Frame") {
- public void actionPerformed(ActionEvent e) {
- Command command = new Command.InitializeFrame(space);
- AttributeView.instance().display(command);
- }
- };
- menu.add(action);
- }
- {
- AbstractAction action = new SpaceMenuAction(net, "Render Frame") {
- public void actionPerformed(ActionEvent e) {
- Command command = new Command.RenderFrame(space);
- AttributeView.instance().display(command);
- }
- };
- menu.add(action);
- }
- return menu;
- }
-
/**
*
--- 893,896 ----
|