org.objectweb.jac.ide.diagrams
Class CreationTool

java.lang.Object
  extended byCH.ifa.draw.standard.AbstractTool
      extended byCH.ifa.draw.standard.CreationTool
          extended byorg.objectweb.jac.ide.diagrams.CreationTool
All Implemented Interfaces:
EventListener, CH.ifa.draw.framework.Tool, CH.ifa.draw.framework.ViewChangeListener
Direct Known Subclasses:
AspectFigureCreationTool, ClassFigureCreationTool, GroupFigureShowTool, InstanceFigureCreationTool, NewAspectFigureCreationTool, NewClassFigureCreationTool, NewInstanceFigureCreationTool, TextTool

public class CreationTool
extends CH.ifa.draw.standard.CreationTool


Nested Class Summary
 
Nested classes inherited from class CH.ifa.draw.standard.AbstractTool
CH.ifa.draw.standard.AbstractTool.EventDispatcher
 
Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractTool
fAnchorX, fAnchorY
 
Constructor Summary
CreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor)
           
CreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor, CH.ifa.draw.framework.Figure prototype)
           
 
Method Summary
 boolean isActive()
           
 void mouseDrag(MouseEvent e, int x, int y)
           
 
Methods inherited from class CH.ifa.draw.standard.CreationTool
activate, createFigure, getAddedFigure, getAnchorPoint, getCreatedFigure, mouseDown, mouseUp
 
Methods inherited from class CH.ifa.draw.standard.AbstractTool
addToolListener, checkUsable, createEventDispatcher, deactivate, drawing, editor, getEventDispatcher, isEnabled, isUsable, keyDown, mouseMove, removeToolListener, setEnabled, setUsable, view, viewCreated, viewDestroying, viewSelectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreationTool

public CreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor)

CreationTool

public CreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor,
                    CH.ifa.draw.framework.Figure prototype)
Method Detail

isActive

public boolean isActive()

mouseDrag

public void mouseDrag(MouseEvent e,
                      int x,
                      int y)