Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5801/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
ToolFactory.java
Log Message:
Removed protractor, rotation and multiextrude tools from the GUI
Index: ToolFactory.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ToolFactory.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** ToolFactory.java 28 Aug 2006 06:51:25 -0000 1.59
--- ToolFactory.java 5 Oct 2006 12:19:59 -0000 1.60
***************
*** 62,74 ****
private AbstractTool controlled;
- /** rotation tool */
- private RotationTool rotation;
-
/** extrusion tool */
private ExtrudeTool extrusion;
- /** multi extrusion tool */
- private MultiExtrudeTool mulextrusion;
-
/** pencil tool */
private Pencil pencil;
--- 62,68 ----
***************
*** 95,101 ****
private TapeMeasureTool tapeMeasure;
- /** Protractor tool */
- private Protractor protractor;
-
/** Constructor tool */
private ConstructorTool constructor;
--- 89,92 ----
***************
*** 125,136 ****
private JToggleButton moveBut;
- /** The rotation button */
- private JToggleButton rotBut;
-
/** The extrude button */
private JToggleButton extrudeBut;
-
- /** The multi extrude button */
- private JToggleButton mulextrudeBut;
/** The clipplane button */
--- 116,121 ----
***************
*** 190,199 ****
alternate = new VectorMoveTool(glv, pencilcursor);
controlled = new ControlledMoveTool(glv, pencilcursor);
- rotation = new RotationTool(glv, pencilcursor);
extrusion = new ExtrudeTool(glv, pencilcursor);
- mulextrusion = new MultiExtrudeTool(glv, pencilcursor);
clipplane = new ClipplaneTool(glv, pencilcursor);
tapeMeasure = new TapeMeasureTool(glv, pencilcursor);
- protractor = new Protractor(glv, pencilcursor);
camera = new CameraTool(glv, rotationCursor);
fly = new CameraFlyTool(glv, flyCursor);
--- 175,181 ----
***************
*** 220,239 ****
"Biconextrudetool.gif", "Extrude");
extrudeBut.setMnemonic(KeyEvent.VK_V);
- mulextrudeBut = this.registerTool(Tool.MULTI_EXTRUDE_TOOL, mulextrusion,
- "Biconextrudetool2.gif", "Controlled Extrude");
- mulextrudeBut.setMnemonic(KeyEvent.VK_B);
moveBut = this.registerTool(Tool.MOVE_TOOL, alternate, "Biconmovetool.gif", "Move");
moveBut.setMnemonic(KeyEvent.VK_M);
registerTool(Tool.CONTROLLED_MOVE_TOOL, controlled, "Biconmovetool.gif", "Controlled Move");
- //moveBut.addMouseListener(new MoveButtonMouseListener(moveBut));
- rotBut = this.registerTool(Tool.ROTATION_TOOL, rotation, "Biconrotobj.gif", "Rotation");
- rotBut.setMnemonic(KeyEvent.VK_R);
tb.addSeparator(3);
tmBut = this.registerTool(Tool.TAPE_MEASURE_TOOL, tapeMeasure,
"Bicontapemes.gif", "Tape Measure");
! this.registerTool(Tool.PROTRACTOR_TOOL, protractor, "Bprotrac.gif", "Protractor");
! clipBut = this.registerTool(Tool.CLIP_TOOL, clipplane,
! "Bclip.gif", "Clipping");
!
this.registerTool(Tool.CONSTRUCTOR_TOOL, constructor, "Biconconstructor.gif", "Constructor");
offBut = this.registerTool(Tool.OFFSET_TOOL, offset, "Biconoffset.gif", "Offset");
--- 202,212 ----
"Biconextrudetool.gif", "Extrude");
extrudeBut.setMnemonic(KeyEvent.VK_V);
moveBut = this.registerTool(Tool.MOVE_TOOL, alternate, "Biconmovetool.gif", "Move");
moveBut.setMnemonic(KeyEvent.VK_M);
registerTool(Tool.CONTROLLED_MOVE_TOOL, controlled, "Biconmovetool.gif", "Controlled Move");
tb.addSeparator(3);
tmBut = this.registerTool(Tool.TAPE_MEASURE_TOOL, tapeMeasure,
"Bicontapemes.gif", "Tape Measure");
!
this.registerTool(Tool.CONSTRUCTOR_TOOL, constructor, "Biconconstructor.gif", "Constructor");
offBut = this.registerTool(Tool.OFFSET_TOOL, offset, "Biconoffset.gif", "Offset");
***************
*** 357,360 ****
--- 330,338 ----
*/
class ToolAction extends AbstractAction {
+ /**
+ * serial ID
+ */
+ private static final long serialVersionUID = 1L;
+
/** glv */
protected GLView glv;
|