1 18 19 package org.objectweb.jac.ide.diagrams; 20 21 import CH.ifa.draw.framework.DrawingEditor; 22 import org.objectweb.jac.ide.Class; 23 24 public class AggregationCreationTool extends RelationLinkCreationTool { 25 26 public AggregationCreationTool(DrawingEditor newDrawingEditor) { 27 super(newDrawingEditor); 28 } 29 30 35 protected void createRelation(Class source, Class target) { 36 if (source != null && target != null) { 37 ((DiagramView)editor()).createRelation(source,target,(RelationLinkFigure)myConnection,true); 38 } 39 } 40 41 } 42 | Popular Tags |