pl.edu.agh.cast.schema.editor.command.bendpoints
Class CreateBendpointCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by pl.edu.agh.cast.schema.editor.command.bendpoints.AbstractBendpointCommand
          extended by pl.edu.agh.cast.schema.editor.command.bendpoints.CreateBendpointCommand

public class CreateBendpointCommand
extends AbstractBendpointCommand

Command creating bend points.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class pl.edu.agh.cast.schema.editor.command.bendpoints.AbstractBendpointCommand
bendpoint, connection, connectionFigure, d1, d2, index, location
 
Constructor Summary
CreateBendpointCommand()
           
 
Method Summary
 void execute()
          
 void redo()
          
 void undo()
          
 
Methods inherited from class pl.edu.agh.cast.schema.editor.command.bendpoints.AbstractBendpointCommand
setConnection, setConnectionFigure, setIndex, setLocation, setRelativeDimensions
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateBendpointCommand

public CreateBendpointCommand()
Method Detail

execute

public void execute()

Overrides:
execute in class org.eclipse.gef.commands.Command
See Also:
Command.execute()

redo

public void redo()

Overrides:
redo in class org.eclipse.gef.commands.Command
See Also:
Command.redo()

undo

public void undo()

Overrides:
undo in class org.eclipse.gef.commands.Command
See Also:
Command.undo()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.