public class IlvFacesGanttSelectionSupport extends IlvGanttSelectionSupport
IlvSelectionSupport
implementation dedicated
to the JavaServer Faces Gantt component.IlvGanttSelectionSupport.DefaultIdentifierFactory, IlvGanttSelectionSupport.IdentifierFactory
IlvSelectionSupport.IlvSelectionResponse
ACTIVITY_OBJECT_TYPE, CONSTRAINT_OBJECT_TYPE, RESERVATION_OBJECT_TYPE, RESOURCE_OBJECT_TYPE
REQUEST_TYPE
Constructor and Description |
---|
IlvFacesGanttSelectionSupport(IlvGanttServletSupport support)
Creates a new
IlvFacesGanttSelectionSupport instance. |
Modifier and Type | Method and Description |
---|---|
protected IlvGanttSheetSelectionSupport |
createGanttSheetSelectionSupport()
Creates the selection support for the Gantt sheet component.
|
protected IlvGanttTableSelectionSupport |
createGanttTableSelectionSupport()
Creates the selection support for the Gantt table component.
|
protected IlvServerAction |
createImageModeAction()
Creates the server action that handles changing the representation mode for
the selection.
|
protected IlvServerAction |
createMoveSelectionAction()
Creates the server action that handles moving the selected objects.
|
protected IlvServerAction |
createSelectObjectAction()
Creates the server action that handles selecting objects.
|
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)
This method is called to set properties on an
Object following
a client-side request. |
cacheObjectId, createResizeActivityAction, doGetSelectOne, doGetSelectOneMultiple, doGetUpdateAll, getDelegate, getIdentifier, getIdentifierFactory, getObject, getObject, getSupport, handleRequest, installListeners, removeListeners, setIdentifierFactory
doGetDeselectAll, doGetSelectAll, doGetSelectOneById, doGetSelectOneMultipleById, doGetUpdatedCapabilities, doPostSetProperties, getLastSelectedObject, initializeResponseProperties, isResizable, setLastSelectedObject
public IlvFacesGanttSelectionSupport(IlvGanttServletSupport support)
IlvFacesGanttSelectionSupport
instance.support
- The gantt servlet support.protected IlvGanttSheetSelectionSupport createGanttSheetSelectionSupport()
createGanttSheetSelectionSupport
in class IlvGanttSelectionSupport
protected IlvGanttTableSelectionSupport createGanttTableSelectionSupport()
createGanttTableSelectionSupport
in class IlvGanttSelectionSupport
protected List getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object)
getAdditionalProperties
in class IlvGanttSelectionSupport
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 is achieved using the IlvFacesGanttPropertyAccessor
set on the
IlvFacesGanttSelectionManager
.setAdditionalProperties
in class IlvSelectionSupport
response
- The response.object
- The object to set properties on.list
- The List
of additional information on a
selected object.List
of error descriptors to send back to the
client.protected IlvServerAction createImageModeAction()
createImageModeAction
in class IlvGanttSelectionSupport
protected IlvServerAction createSelectObjectAction()
createSelectObjectAction
in class IlvGanttSelectionSupport
protected IlvServerAction createMoveSelectionAction()
createMoveSelectionAction
in class IlvGanttSelectionSupport
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.