| 1 8 package com.nightlabs.editor2d.request; 9 10 import org.eclipse.gef.EditPart; 11 import org.eclipse.gef.requests.SelectionRequest; 12 13 14 public class EditorEditShapeRequest 15 extends SelectionRequest 16 implements EditorRequestConstants, 17 EditorLocationRequest 18 { 19 protected int pathSegmentIndex; 20 public int getPathSegmentIndex() { 21 return pathSegmentIndex; 22 } 23 public void setPathSegmentIndex(int pathSegmentIndex) { 24 this.pathSegmentIndex = pathSegmentIndex; 25 } 26 27 46 protected EditPart targetEditPart; 47 public EditPart getTargetEditPart() { 48 return targetEditPart; 49 } 50 public void setTargetEditPart(EditPart targetEditPart) { 51 this.targetEditPart = targetEditPart; 52 } 53 54 public EditorEditShapeRequest() 55 { 56 super(); 57 setType(REQ_EDIT_SHAPE); 58 } 59 60 63 public EditorEditShapeRequest(Object type) 64 { 65 super(); 66 setType(type); 67 } 68 69 } 70 | Popular Tags |