public interface HighlightCapable
| Modifier and Type | Method and Description |
|---|---|
void |
addAllHighlights(Set<Highlight> highlights)
Adds the given set of highlights to the stored ones.
|
void |
addHighlight(Highlight highlight)
Adds the Highlight.
|
Highlight |
getHighlight(String id) |
Set<Highlight> |
getHighlights() |
void |
removeAllHighlights()
Removes all highlights.
|
void |
removeHighlight(String id) |
void |
setHighlights(Set<Highlight> hightlights)
Replaces the stored highlights with the given set.
|
void addHighlight(Highlight highlight)
highlight - org.eclipse.stardust.common.error.InvalidArgumentException - if the id of the Highlight already exists.void removeHighlight(String id)
void setHighlights(Set<Highlight> hightlights)
hightlights - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.void addAllHighlights(Set<Highlight> highlights)
hightlights - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.org.eclipse.stardust.common.error.InvalidArgumentException - if the set contains at least one highlight with the same Identifiable#id
as a stored highlight.void removeAllHighlights()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.