public interface ILabelPolicy extends IPolicy
Modifier and Type | Method and Description |
---|---|
String |
getLabel(IRelationship relationship,
IGanttChartModel model,
LabelType type)
Returns a label for the given relationship object (usually a summary of
the relationship meaning).
|
String |
getLabel(TimelineObjectPath path,
IGanttChartModel model,
LabelType type)
Returns various types of labels for a given timeline object.
|
boolean |
isLabelTypeVisible(TimelineObjectPath path,
IGanttChartModel model,
LabelType type)
Determines whether or not a certain type of label will be shown for the
given timeline object or not.
|
boolean isLabelTypeVisible(TimelineObjectPath path, IGanttChartModel model, LabelType type)
path
- the path to the timeline object for which the check gets
performedmodel
- the data source that returned the node and timeline objecttype
- the type of the label (name, tooltip, description, etc...)getLabel(TimelineObjectPath, IGanttChartModel, LabelType)
String getLabel(TimelineObjectPath path, IGanttChartModel model, LabelType type)
path
- the path to the timeline object for which a label gets
requestedmodel
- the data source that returned the node and timeline objecttype
- the type of the label (name, tooltip, description, etc...)isLabelTypeVisible(TimelineObjectPath, IGanttChartModel, LabelType)
String getLabel(IRelationship relationship, IGanttChartModel model, LabelType type)
relationship
- the relationship for which a label gets requestedmodel
- the data source that returned the relationship objecttype
- the label typeCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.