public class DefaultSelectionPolicy extends AbstractPolicy implements ISelectionPolicy
ISelectionPolicy.| Constructor and Description |
|---|
DefaultSelectionPolicy() |
| 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.
|
assertClasspublic boolean isSelectable(TimelineObjectPath path, IGanttChartModel model)
ISelectionPolicyisSelectable in interface ISelectionPolicypath - the path to the timeline object to check whether it can be
selected or notmodel - the data source that returned the node and timeline objectpublic boolean isSelectable(Object node, ITimeSpan span, IGanttChartModel model)
ISelectionPolicyisSelectable in interface ISelectionPolicynode - the tree node on which to select the time spanspan - the time span checkedsmodel - the data source that returned the nodepublic boolean isSelectable(IRelationship relationship, IGanttChartModel model)
ISelectionPolicyisSelectable in interface ISelectionPolicyrelationship - 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.