Math2mat
|
00001 00016 package m2m.frontend.dynamicview.commands; 00017 00018 import org.eclipse.draw2d.geometry.Dimension; 00019 00020 public class MoveBendpointCommand extends AbstractBendPointCommand 00021 { 00025 private Dimension d1, d2; 00026 00030 public void execute() 00031 { 00032 getConnection().modifyBendPoint(getIndex(), d1, d2); 00033 } 00034 00035 00041 public void setRelativeDimensions(Dimension dim1, Dimension dim2) 00042 { 00043 d1 = dim1; 00044 d2 = dim2; 00045 } 00046 }