[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool Tool.java, 1.23, 1.24 ToolFactory.jav
Status: Pre-Alpha
Brought to you by:
henryml
From: Nordholt <nor...@us...> - 2006-07-09 16:21:00
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24427 Modified Files: Tool.java ToolFactory.java Log Message: adding the offset tool Index: ToolFactory.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ToolFactory.java,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** ToolFactory.java 6 Jul 2006 13:13:50 -0000 1.51 --- ToolFactory.java 9 Jul 2006 16:20:57 -0000 1.52 *************** *** 114,119 **** private Tool previousTool; ! /** The curretn tool */ private Tool currentTool; /** The selection button */ --- 114,122 ---- private Tool previousTool; ! /** The current tool */ private Tool currentTool; + + /** The Offset tool */ + private OffsetTool offset; /** The selection button */ *************** *** 153,156 **** --- 156,162 ---- private JToggleButton walkBut; + /** The offset tool button */ + private JToggleButton offBut; + /** * Constructor *************** *** 201,204 **** --- 207,211 ---- walk = new CameraWalkTool(glv, walkCursor); constructor = new ConstructorTool(glv, pencilcursor); + offset = new OffsetTool(glv, pencilcursor); Toolbar tb = Toolbar.getInstance(); *************** *** 227,230 **** --- 234,238 ---- this.registerTool(Tool.CONSTRUCTOR_TOOL, constructor, "Biconconstructor.gif", "Constructor"); + offBut = this.registerTool(Tool.OFFSET_TOOL, offset, "Biconoffset.gif", "Offset"); tb.addSeparator(3); Index: Tool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/Tool.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Tool.java 6 Jul 2006 13:13:50 -0000 1.23 --- Tool.java 9 Jul 2006 16:20:57 -0000 1.24 *************** *** 52,55 **** --- 52,57 ---- /** The controlled extrude tool */ public static final int MULTI_EXTRUDE_TOOL = 15; + /** The Offset tool */ + public static final int OFFSET_TOOL = 16; /** |