org.objectweb.jac.ide.diagrams
Class InstanceFigureCreationTool

java.lang.Object
  extended byCH.ifa.draw.standard.AbstractTool
      extended byCH.ifa.draw.standard.CreationTool
          extended byorg.objectweb.jac.ide.diagrams.CreationTool
              extended byorg.objectweb.jac.ide.diagrams.InstanceFigureCreationTool
All Implemented Interfaces:
EventListener, CH.ifa.draw.framework.Tool, CH.ifa.draw.framework.ViewChangeListener

public class InstanceFigureCreationTool
extends 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
InstanceFigureCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor, DisplayContext context)
           
 
Method Summary
 void chooseInstance(Instance clazz)
           
protected  CH.ifa.draw.framework.Figure createFigure()
           
 
Methods inherited from class org.objectweb.jac.ide.diagrams.CreationTool
isActive, mouseDrag
 
Methods inherited from class CH.ifa.draw.standard.CreationTool
activate, 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

InstanceFigureCreationTool

public InstanceFigureCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor,
                                  DisplayContext context)
Method Detail

chooseInstance

public void chooseInstance(Instance clazz)

createFigure

protected CH.ifa.draw.framework.Figure createFigure()