public interface ISelectionPolicy extends IPolicy
Modifier and Type | Method and Description |
---|---|
boolean |
isSelectable(IRelationship relationship,
IGanttChartModel model)
Returns TRUE if the given relationship can be selected by the user (or
programmatically) or not.
|
boolean |
isSelectable(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(TimelineObjectPath path,
IGanttChartModel model)
Returns TRUE if the given timeline object on the given node can be
selected by the user (or programmatically) or not.
|
boolean isSelectable(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 nodeboolean isSelectable(TimelineObjectPath path, IGanttChartModel model)
path
- the path to the timeline object to check whether it can be
selected or notmodel
- the data source that returned the node and timeline objectboolean isSelectable(IRelationship relationship, IGanttChartModel model)
relationship
- the relationship to check for selectabilitymodel
- the data source that returned the node and timeline objectCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.