CH.ifa.draw.samples.pert
Class PertFigureCreationTool

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractTool
      extended by CH.ifa.draw.standard.CreationTool
          extended by CH.ifa.draw.samples.pert.PertFigureCreationTool
All Implemented Interfaces:
Tool

public class PertFigureCreationTool
extends CreationTool

A more efficient version of the generic Pert creation tool that is not based on cloning.


Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractTool
fAnchorX, fAnchorY, fView
 
Constructor Summary
PertFigureCreationTool(DrawingView view)
           
 
Method Summary
protected  Figure createFigure()
          Creates a new PertFigure.
 
Methods inherited from class CH.ifa.draw.standard.CreationTool
activate, createdFigure, mouseDown, mouseDrag, mouseUp
 
Methods inherited from class CH.ifa.draw.standard.AbstractTool
deactivate, drawing, editor, keyDown, mouseMove, view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PertFigureCreationTool

public PertFigureCreationTool(DrawingView view)
Method Detail

createFigure

protected Figure createFigure()
Creates a new PertFigure.

Overrides:
createFigure in class CreationTool