Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2211/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
Tool.java ToolFactory.java
Added Files:
FinalMoveTool.java
Log Message:
New move tool Ð not yet implemented
Index: ToolFactory.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ToolFactory.java,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** ToolFactory.java 22 Mar 2007 11:47:06 -0000 1.79
--- ToolFactory.java 8 May 2007 13:24:04 -0000 1.80
***************
*** 121,124 ****
--- 121,125 ----
/** The tool for moving alternatively */
private AltMoveTool altMoveTool;
+ private FinalMoveTool finalMoveTool;
/** The tool for moving edges alternatively */
***************
*** 217,220 ****
--- 218,222 ----
focusTool = new FocusTool(glv, null);
altMoveTool = new AltMoveTool(glv, pencilcursor);
+ finalMoveTool = new FinalMoveTool(glv, pencilcursor);
edgeMoveTool = new EdgeMoveTool(glv, pencilcursor);
***************
*** 242,245 ****
--- 244,248 ----
registerTool(Tool.ALT_MOVE_TOOL, altMoveTool, "Biconmovetool.gif", "Alternative Moving");
registerTool(Tool.EDGE_MOVE_TOOL, edgeMoveTool, "Biconmovetool.gif", "Edge moving");
+ registerTool(Tool.FINAL_MOVE_TOOL, finalMoveTool, "Bmovetool.gif", "Final Move");
rotationBut = this.registerTool(Tool.ROTATION_TOOL, rotation, "Biconrotaxe.gif", "Rotate");
tb.addSeparator(3);
--- NEW FILE: FinalMoveTool.java ---
//---------------------------------------------------------------------------------
// $Id: FinalMoveTool.java,v 1.1 2007/05/08 13:24:04 henryml Exp $
//
// Copyright (c) 2005 The BProcessor Team (http://bprocessor.sourceforge.net)
// Released under the Lesser GNU Public License v2.1
//---------------------------------------------------------------------------------
package net.sourceforge.bprocessor.gl.tool;
import java.awt.Cursor;
import java.awt.event.MouseEvent;
import net.sourceforge.bprocessor.gl.GLView;
/**
*
*/
public class FinalMoveTool extends AbstractPencil {
/**
* @param glv GLView
* @param cursor Cursor
*/
public FinalMoveTool(GLView glv, Cursor cursor) {
super(glv, cursor);
// TODO Auto-generated constructor stub
}
/** {@inheritDoc} */
@Override
public void onVertex() {
// TODO Auto-generated method stub
}
/** {@inheritDoc} */
@Override
protected void moved(MouseEvent e) {
// TODO Auto-generated method stub
}
/** {@inheritDoc} */
@Override
protected void pressed(MouseEvent e) {
// TODO Auto-generated method stub
}
}
Index: Tool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/Tool.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** Tool.java 22 Mar 2007 11:47:06 -0000 1.31
--- Tool.java 8 May 2007 13:24:04 -0000 1.32
***************
*** 68,71 ****
--- 68,73 ----
/** the tool for alternative moving of edges */
public static final int EDGE_MOVE_TOOL = 23;
+ /** the final tool to move them all */
+ public static final int FINAL_MOVE_TOOL = 24;
/**
|