}
public UndoableMapCommand getCommand( EditToolHandler handler, MapMouseEvent e,
EventType eventType ) {
EditBlackboard editBlackboard = handler.getCurrentShape().getEditBlackboard();
Point point=editBlackboard.overVertex(Point.valueOf(e.x, e.y),
PreferenceUtil.instance().getVertexRadius());
if( point.equals(handler.getCurrentShape().getPoint(0))){
List<UndoableMapCommand> commands=new ArrayList<UndoableMapCommand>();
commands.add(new ReversePointsInShapeCommand(handler, handler.getCurrentShape()));
commands.add(new SetEditStateCommand(handler, EditState.CREATING));