protected virtual void OnEntityActivated(object sender, System.EventArgs e) { Tool = new DragCreationTool (this, new Entity ()); }
protected virtual void OnRelationActivated(object sender, System.EventArgs e) { Tool = new DragCreationTool (this, new Relation ()); }
protected virtual void OnAddUseCaseActivated(object sender, System.EventArgs e) { Tool = new DragCreationTool(this, new UseCaseFigure() ); }
protected virtual void OnAttributeActivated(object sender, System.EventArgs e) { Tool = new DragCreationTool (this, new MonoHotDraw.Database.Attribute ()); }
protected virtual void OnAddCommentActivated(object sender, System.EventArgs e) { Tool = new DragCreationTool(this, new NoteFigure("new note") ); }
protected virtual void OnAddActorActivated(object sender, System.EventArgs e) { Console.WriteLine("Actor Added"); Tool = new DragCreationTool(this, new ActorFigure() ); }
protected virtual void OnAddDigitalClockActionActivated(object sender, System.EventArgs e) { Tool = new DragCreationTool (this, new DigitalClockFigure ()); }
protected virtual void OnAddAction(object sender, System.EventArgs e) { Tool = new DragCreationTool (this, new AnalogClockFigure ()); }
public void AddWithDragging(Figure figure) { Tool = new DragCreationTool(this, figure); }