* @param handler
*/
private UndoableMapCommand createNewGeom( EditToolHandler handler ) {
List<UndoableMapCommand> commands=new ArrayList<UndoableMapCommand>();
EditBlackboard editBlackboard = handler.getCurrentShape().getEditBlackboard();
final CreateEditGeomCommand createEditGeomCommand = new CreateEditGeomCommand(
editBlackboard, "freeHandDraw"+System.currentTimeMillis(), ShapeType.LINE); //$NON-NLS-1$
commands.add(createEditGeomCommand);
class PrimitiveProvider implements IBlockingProvider<PrimitiveShape> {
public PrimitiveShape get(IProgressMonitor monitor, Object... params) {