|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISelectionPolicy
A policy that is used to determine whether timeline objects can be selected or not. The policy does not return a command object as the selection of objects shall not be tracked by the command stack and undo / redo capabilities are not desired.
Method Summary | |
---|---|
boolean |
isSelectable(java.lang.Object node,
ITimeSpan span,
IGanttChartModel model)
Returns TRUE if the given time span on the given node can be selected by the user (or programmatically) or not. |
boolean |
isSelectable(java.lang.Object node,
java.lang.Object timelineObject,
IGanttChartModel model)
Returns TRUE if the given timeline object on the given node can be selected by the user (or programmatically) or not. |
Method Detail |
---|
boolean isSelectable(java.lang.Object node, ITimeSpan span, IGanttChartModel model)
node
- the tree node on which to select the time spanspan
- the time span checkedsmodel
- the data source that returned the node
boolean isSelectable(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model)
node
- the tree node to which the timeline object belongstimelineObject
- the timeline object to check whether it can be selected or notmodel
- the data source that returned the node and timeline object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |