KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > editor2d > request > EditorShearRequest


1 /**
2  * <p> Project: com.nightlabs.editor2d </p>
3  * <p> Copyright: Copyright (c) 2004 </p>
4  * <p> Company: NightLabs GmbH (Germany) </p>
5  * <p> Creation Date: 14.04.2005 </p>
6  * <p> Author: Daniel Mazurek </p>
7 **/

8 package com.nightlabs.editor2d.request;
9
10 import java.awt.geom.AffineTransform JavaDoc;
11 import java.util.List JavaDoc;
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 JavaDoc parts;
22   public List JavaDoc getEditParts() {
23     return parts;
24   }
25   public void setEditParts(List JavaDoc 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 JavaDoc affineTransform;
38   public AffineTransform JavaDoc getAffineTransform() {
39     return affineTransform;
40   }
41   public void setAffineTransform(AffineTransform JavaDoc 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
Free Books   Free Magazines  
Popular Tags