[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view PopupMenu.java, 1.44, 1.45
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2010-05-21 07:29:09
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv18772/src/net/sourceforge/bprocessor/gl/view Modified Files: PopupMenu.java Log Message: Added scripts to spaces Index: PopupMenu.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/PopupMenu.java,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** PopupMenu.java 20 May 2010 10:58:51 -0000 1.44 --- PopupMenu.java 21 May 2010 07:29:01 -0000 1.45 *************** *** 821,824 **** --- 821,826 ---- Command command = new Command.Cube(); AttributeView.instance().display(command); + Project.getInstance().getActiveSpace().add(command); + Project.getInstance().changed(); } }; *************** *** 829,833 **** --- 831,837 ---- public void actionPerformed(ActionEvent event) { Command command = new Command.Sphere(); + Project.getInstance().getActiveSpace().add(command); AttributeView.instance().display(command); + Project.getInstance().changed(); } }; *************** *** 838,842 **** --- 842,848 ---- public void actionPerformed(ActionEvent event) { Command command = new Command.Cylinder(); + Project.getInstance().getActiveSpace().add(command); AttributeView.instance().display(command); + Project.getInstance().changed(); } }; *************** *** 847,851 **** --- 853,859 ---- public void actionPerformed(ActionEvent event) { Command command = new Command.Pyramid(); + Project.getInstance().getActiveSpace().add(command); AttributeView.instance().display(command); + Project.getInstance().changed(); } }; *************** *** 856,860 **** --- 864,870 ---- public void actionPerformed(ActionEvent event) { Command command = new Command.Mark(); + Project.getInstance().getActiveSpace().add(command); AttributeView.instance().display(command); + Project.getInstance().changed(); } }; |