KickJava   Java API By Example, From Geeks To Geeks.

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


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: 29.12.2004 </p>
6  * <p> Author: Daniel Mazurek </p>
7 **/

8 package com.nightlabs.editor2d.request;
9
10 import org.eclipse.gef.Request;
11 import org.eclipse.gef.RequestConstants;
12
13 /**
14  * The set of constants used to identify <code>Requests</code> by their {@link
15  * Request#getType() type}. Applications can extend this set of constants with their own.
16  */

17 public interface EditorRequestConstants
18 extends RequestConstants
19 {
20   /**
21    * Indicates the creation of a new Shape.
22    */

23   String JavaDoc REQ_CREATE_SHAPE = "create Shape";//$NON-NLS-1$
24

25   /**
26    * Indicates the Editing of a Shape.
27    */

28   String JavaDoc REQ_EDIT_SHAPE = "edit Shape";//$NON-NLS-2$
29

30   /**
31    * Indicates the Zooming of the View (e.g. with a ZoomTool)
32    */

33   String JavaDoc REQ_ZOOM_RECT = "zoom Rectangle";//$NON-NLS-3$
34

35   /**
36    * Indicates the Rotation of a DrawComponent
37    */

38   String JavaDoc REQ_ROTATE = "rotate";//$NON-NLS-4$
39

40   /**
41    * Indicates the Editing of the Rotation Center
42    */

43   String JavaDoc REQ_EDIT_ROTATE_CENTER = "edit Rotation Center";//$NON-NLS-5$
44

45   /**
46    * Indicates the Shearing of a DrawComponent
47    */

48   String JavaDoc REQ_SHEAR = "shear";
49   
50 // /*
51
// * Indicates the creation of a Text
52
// */
53
// String REQ_CREATE_TEXT = "create Text";//$NON-NLS-5$
54
}
55
Popular Tags