Class DirectEditRequest


  • public class DirectEditRequest
    extends LocationRequest
    A request to perform direct editing on the receiver of the Request.
    Since:
    2.0
    • Constructor Detail

      • DirectEditRequest

        public DirectEditRequest()
        Constructor for DirectEditRequest.
      • DirectEditRequest

        public DirectEditRequest​(java.lang.Object type)
        Constructor for DirectEditRequest.
        Parameters:
        type - the type
    • Method Detail

      • getDirectEditFeature

        public java.lang.Object 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

        public CellEditor getCellEditor()
        Returns the cell editor used to perform the direct edit.
        Returns:
        the cell editor
      • setCellEditor

        public void setCellEditor​(CellEditor celleditor)
        Sets the cell editor to be used when direct editing.
        Parameters:
        celleditor - the cell editor
      • setDirectEditFeature

        public void setDirectEditFeature​(java.lang.Object feature)
        Sets the direct edit feature.
        Parameters:
        feature - the direct edit feature
        See Also:
        getDirectEditFeature()