Exemple #1
0
 protected virtual void OnEntityActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new Entity ());
 }
Exemple #2
0
 protected virtual void OnRelationActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new Relation ());
 }
Exemple #3
0
 protected virtual void OnAddUseCaseActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool(this, new UseCaseFigure() );
 }
Exemple #4
0
 protected virtual void OnAttributeActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new MonoHotDraw.Database.Attribute ());
 }
Exemple #5
0
 protected virtual void OnAddCommentActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool(this, new NoteFigure("new note") );
 }
Exemple #6
0
 protected virtual void OnAddActorActivated(object sender, System.EventArgs e)
 {
     Console.WriteLine("Actor Added");
     Tool = new DragCreationTool(this, new ActorFigure() );
 }
Exemple #7
0
 protected virtual void OnAddDigitalClockActionActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new DigitalClockFigure ());
 }
Exemple #8
0
 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);
 }