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 SummaryConstructorsConstructorDescriptionConstructor for DirectEditRequest.DirectEditRequest(Object type) Constructor for DirectEditRequest.
- 
Method SummaryModifier 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.voidsetCellEditor(CellEditor celleditor) Sets the cell editor to be used when direct editing.voidsetDirectEditFeature(Object feature) Sets the direct edit feature.Methods inherited from class org.eclipse.gef.requests.LocationRequestgetLocation, setLocationMethods inherited from class org.eclipse.gef.RequestgetExtendedData, getType, setExtendedData, setType
- 
Constructor Details- 
DirectEditRequestpublic DirectEditRequest()Constructor for DirectEditRequest.
- 
DirectEditRequestConstructor for DirectEditRequest.- Parameters:
- type- the type
 
 
- 
- 
Method Details- 
getDirectEditFeatureIf the EditPart supports direct editing of multiple features, this parameter can be used to discriminate among them.- Returns:
- the direct edit feature
 
- 
getCellEditorReturns the cell editor used to perform the direct edit.- Returns:
- the cell editor
 
- 
setCellEditorSets the cell editor to be used when direct editing.- Parameters:
- celleditor- the cell editor
 
- 
setDirectEditFeatureSets the direct edit feature.- Parameters:
- feature- the direct edit feature
- See Also:
 
 
-