Package org.eclipse.gef.requests
Class DirectEditRequest
java.lang.Object
org.eclipse.gef.Request
org.eclipse.gef.requests.LocationRequest
org.eclipse.gef.requests.DirectEditRequest
A request to perform direct editing on the receiver of the Request.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for DirectEditRequest.DirectEditRequest
(Object type) Constructor for DirectEditRequest. -
Method Summary
Modifier and TypeMethodDescriptionReturns the cell editor used to perform the direct edit.If the EditPart supports direct editing of multiple features, this parameter can be used to discriminate among them.void
setCellEditor
(CellEditor celleditor) Sets the cell editor to be used when direct editing.void
setDirectEditFeature
(Object feature) Sets the direct edit feature.Methods inherited from class org.eclipse.gef.requests.LocationRequest
getLocation, setLocation
Methods inherited from class org.eclipse.gef.Request
getExtendedData, getType, setExtendedData, setType
-
Constructor Details
-
DirectEditRequest
public DirectEditRequest()Constructor for DirectEditRequest. -
DirectEditRequest
Constructor for DirectEditRequest.- Parameters:
type
- the type
-
-
Method Details
-
getDirectEditFeature
If the EditPart supports direct editing of multiple features, this parameter can be used to discriminate among them.- Returns:
- the direct edit feature
-
getCellEditor
Returns the cell editor used to perform the direct edit.- Returns:
- the cell editor
-
setCellEditor
Sets the cell editor to be used when direct editing.- Parameters:
celleditor
- the cell editor
-
setDirectEditFeature
Sets the direct edit feature.- Parameters:
feature
- the direct edit feature- See Also:
-