Math2mat

/home/ythoma/docs/math2mat/svn/wp1/framework/m2mGUI/src/m2m/frontend/dynamicview/commands/AbstractBendPointCommand.java

Go to the documentation of this file.
00001 
00016 package m2m.frontend.dynamicview.commands;
00017 
00018 import m2m.frontend.dynamicview.model.Connection;
00019 
00020 import org.eclipse.gef.commands.Command;
00021 
00022 
00023 public abstract class AbstractBendPointCommand extends Command
00024 {
00028         private int index;
00032         private Connection connection;
00033         
00034         
00039         public void setIndex(int i) 
00040         {
00041                 index = i;
00042         }
00043         
00048         public int getIndex() 
00049         {
00050                 return index;
00051         }
00052         
00053         
00058         public void setConnection(Connection connection) 
00059         {
00060                 this.connection = connection;
00061         }
00062         
00063         
00068         public Connection getConnection() 
00069         {
00070                 return connection;
00071         }
00072 }
 All Classes Namespaces Files Functions Variables Enumerations