Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2182
Modified Files:
CameraView.java
Log Message:
removed out-commented code
Index: CameraView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/CameraView.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CameraView.java 11 Feb 2006 18:09:15 -0000 1.3
--- CameraView.java 16 Jun 2006 09:48:05 -0000 1.4
***************
*** 32,37 ****
/** Remove button */
private JButton remove;
- /** set button */
- private JButton set;
/** The tree of cams */
private CameraTreeView ctv;
--- 32,35 ----
***************
*** 52,61 ****
add = new JButton("+");
remove = new JButton("-");
- //set = new JButton("Set");
add.addActionListener(this);
remove.addActionListener(this);
- //set.addActionListener(this);
but.add(add);
- //but.add(set);
but.add(remove);
this.setBackground(new Color(255, 255, 255));
--- 50,56 ----
***************
*** 79,90 ****
p.remove((Camera)tar[0]);
}
! } /*else if (which == set) {
! Object[] tar = Selection.primary().toArray();
! if (tar[0] instanceof Camera) {
! Camera c = new Camera((Camera)tar[0], "default");
! p.setCurrentCamera(c);
! p.changed(c);
! }
! }*/
}
}
--- 74,78 ----
p.remove((Camera)tar[0]);
}
! }
}
}
|