org.objectweb.jac.ide.diagrams
Class AggregationCreationTool

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

public class AggregationCreationTool
extends RelationLinkCreationTool


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
AggregationCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor)
           
 
Method Summary
protected  void createRelation(Class source, Class target)
          Create a RelationLink between two classes.
 
Methods inherited from class org.objectweb.jac.ide.diagrams.RelationLinkCreationTool
createLinkFigure, 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

AggregationCreationTool

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

createRelation

protected void createRelation(Class source,
                              Class target)
Create a RelationLink between two classes.

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