org.objectweb.jac.ide.diagrams
Class InheritanceLinkCreationTool

java.lang.Object
  |
  +--CH.ifa.draw.standard.AbstractTool
        |
        +--org.objectweb.jac.ide.diagrams.AbstractTool
              |
              +--org.objectweb.jac.ide.diagrams.RelationLinkCreationTool
                    |
                    +--org.objectweb.jac.ide.diagrams.InheritanceLinkCreationTool
All Implemented Interfaces:
EventListener, CH.ifa.draw.framework.Tool, CH.ifa.draw.framework.ViewChangeListener

public class InheritanceLinkCreationTool
extends RelationLinkCreationTool


Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractTool
fAnchorX, fAnchorY
 
Constructor Summary
InheritanceLinkCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor)
           
 
Method Summary
protected  LinkFigure createLinkFigure()
           
protected  void createRelation(Class source, Class target)
          Create a RelationLink between two classes.
 
Methods inherited from class org.objectweb.jac.ide.diagrams.RelationLinkCreationTool
deactivate, findConnection, findConnectionStart, findSource, findTarget, mouseDown, mouseDrag, mouseMove, mouseUp, trackConnectors
 
Methods inherited from class org.objectweb.jac.ide.diagrams.AbstractTool
diagramView, isActive
 
Methods inherited from class CH.ifa.draw.standard.AbstractTool
activate, addToolListener, checkUsable, createEventDispatcher, drawing, editor, getEventDispatcher, isEnabled, isUsable, keyDown, 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

InheritanceLinkCreationTool

public InheritanceLinkCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor)
Method Detail

createLinkFigure

protected LinkFigure createLinkFigure()
Overrides:
createLinkFigure in class RelationLinkCreationTool

createRelation

protected void createRelation(Class source,
                              Class target)
Description copied from class: RelationLinkCreationTool
Create a RelationLink between two classes.

Overrides:
createRelation in class RelationLinkCreationTool
Parameters:
source - start class of the link
target - end class of the link