public class IlvFacesDiagrammerSelectionSupport extends IlvDiagrammerSelectionSupport
IlvFacesDiagrammerSelectionSupport is the
IlvSelectionSupport implementation dedicated
to the JViews Diagrammer Faces JSF component.IlvSelectionSupport.IlvSelectionResponseDIAGRAMMER_KEYREQUEST_TYPE| Constructor and Description |
|---|
IlvFacesDiagrammerSelectionSupport(IlvDiagrammerServletSupport support)
Creates a new
IlvFacesDiagrammerSelectionSupport instance. |
| Modifier and Type | Method and Description |
|---|---|
protected List |
getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response,
Object object)
Returns additional information about a selected object.
|
protected List |
setAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response,
Object object,
List list)
Call this method to set additional properties on the given
Object following a client-side request. |
addSelectedLink, clearSelectedLink, deselectAll, doGetDeselectAll, doGetSelectAll, doGetSelectOne, doGetSelectOneById, doGetSelectOneMultiple, doGetSelectOneMultipleById, doGetUpdateAll, doGetUpdatedCapabilities, doPostSetProperties, getSelectedLink, getSelectedObjects, getSupport, initializeResponseProperties, installListeners, isResizable, isSelectable, isSelected, removeListeners, selectAll, setSelectedgetLastSelectedObject, handleRequest, setLastSelectedObjectpublic IlvFacesDiagrammerSelectionSupport(IlvDiagrammerServletSupport support)
IlvFacesDiagrammerSelectionSupport instance.support - The Diagrammer servlet support.protected List getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object)
The overridden version adds the Tag property in addition to the properties
mandated by IlvSelectionSupport.getAdditionalProperties(IlvSelectionResponse, Object).
getAdditionalProperties in class IlvDiagrammerSelectionSupportresponse - The selection response object.object - The object selected or deselected.String, an
array, a List or Map.
List and arrays are rendered as JSON arrays on the
client and Map are rendered as JSON objects on the
client.
Note that the two first objects must be:
ID -- A unique identifier of the selected object.Movable -- true if this object is
movable, false otherwise.Type -- the type of the selected object.
protected List setAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object, List list)
Object following a client-side request.
This method uses the
IlvFacesDiagrammerPropertyAccessor
instance set on the
IlvFacesDiagrammerSelectionManager
object to accomplish the task.setAdditionalProperties in class IlvSelectionSupportresponse - The response.object - The object to set properties on.list - A List of additional information for a selected
object.List of error descriptors to send back to the
client.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.