1 27 28 package org.nightlabs.editor2d.request; 29 30 import java.awt.geom.AffineTransform ; 31 import java.util.List ; 32 33 import org.eclipse.draw2d.PositionConstants; 34 import org.eclipse.draw2d.geometry.Rectangle; 35 import org.eclipse.gef.requests.SelectionRequest; 36 37 38 public class EditorShearRequest 39 extends SelectionRequest 40 { 41 protected List parts; 42 public List getEditParts() { 43 return parts; 44 } 45 public void setEditParts(List list) { 46 parts = list; 47 } 48 49 protected int direction = PositionConstants.NONE; 50 public int getDirection() { 51 return direction; 52 } 53 public void setDirection(int direction) { 54 this.direction = direction; 55 } 56 57 protected AffineTransform affineTransform; 58 public AffineTransform getAffineTransform() { 59 return affineTransform; 60 } 61 public void setAffineTransform(AffineTransform affineTransform) { 62 this.affineTransform = affineTransform; 63 } 64 65 protected Rectangle shearBounds; 66 public Rectangle getShearBounds() { 67 return shearBounds; 68 } 69 public void setShearBounds(Rectangle shearBounds) { 70 this.shearBounds = shearBounds; 71 } 72 } 73 | Popular Tags |