public class IlvFacesDiagrammerSelectionSupport extends IlvDiagrammerSelectionSupport
IlvFacesDiagrammerSelectionSupport
is the
IlvSelectionSupport
implementation dedicated
to the JViews Diagrammer Faces JSF component.IlvSelectionSupport.IlvSelectionResponse
DIAGRAMMER_KEY
REQUEST_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, setSelected
getLastSelectedObject, handleRequest, setLastSelectedObject
public 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 IlvDiagrammerSelectionSupport
response
- 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 IlvSelectionSupport
response
- 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 Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.