1 27 28 package org.nightlabs.editor2d.request; 29 30 import org.eclipse.gef.EditPart; 31 import org.eclipse.gef.requests.SelectionRequest; 32 33 34 public class EditorEditShapeRequest 35 extends SelectionRequest 36 implements EditorRequestConstants, 37 EditorLocationRequest 38 { 39 protected int pathSegmentIndex; 40 public int getPathSegmentIndex() { 41 return pathSegmentIndex; 42 } 43 public void setPathSegmentIndex(int pathSegmentIndex) { 44 this.pathSegmentIndex = pathSegmentIndex; 45 } 46 47 66 protected EditPart targetEditPart; 67 public EditPart getTargetEditPart() { 68 return targetEditPart; 69 } 70 public void setTargetEditPart(EditPart targetEditPart) { 71 this.targetEditPart = targetEditPart; 72 } 73 74 public EditorEditShapeRequest() 75 { 76 super(); 77 setType(REQ_EDIT_SHAPE); 78 } 79 80 83 public EditorEditShapeRequest(Object type) 84 { 85 super(); 86 setType(type); 87 } 88 89 } 90 | Popular Tags |