Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 8 package com.nightlabs.editor2d.request; 9 10 import java.awt.geom.AffineTransform ; 11 import java.util.List ; 12 13 import org.eclipse.draw2d.PositionConstants; 14 import org.eclipse.draw2d.geometry.Rectangle; 15 import org.eclipse.gef.requests.SelectionRequest; 16 17 18 public class EditorShearRequest 19 extends SelectionRequest 20 { 21 protected List parts; 22 public List getEditParts() { 23 return parts; 24 } 25 public void setEditParts(List list) { 26 parts = list; 27 } 28 29 protected int direction = PositionConstants.NONE; 30 public int getDirection() { 31 return direction; 32 } 33 public void setDirection(int direction) { 34 this.direction = direction; 35 } 36 37 protected AffineTransform affineTransform; 38 public AffineTransform getAffineTransform() { 39 return affineTransform; 40 } 41 public void setAffineTransform(AffineTransform affineTransform) { 42 this.affineTransform = affineTransform; 43 } 44 45 protected Rectangle shearBounds; 46 public Rectangle getShearBounds() { 47 return shearBounds; 48 } 49 public void setShearBounds(Rectangle shearBounds) { 50 this.shearBounds = shearBounds; 51 } 52 } 53
| Popular Tags
|