Package org.eclipse.ui.views.markers
Class MarkerFieldFilter
java.lang.Object
org.eclipse.ui.views.markers.MarkerFieldFilter
A MarkerFieldFilter is a filter on a particular marker field.
- Since:
- 3.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal MarkerField
getField()
Get the field for the receiver.void
initialize
(Map values) Initialise the receiver with the values in the values Map.abstract void
loadSettings
(IMemento memento) Load any settings for the receiver from the memento.void
Populate the working copy with the copy of whatever fields are required.abstract void
saveSettings
(IMemento memento) Save any of the relevant state for the receiver in the memento so that it can be used to restore the user settings.abstract boolean
select
(MarkerItem item) Return whether or not marker should be filtered by the receiver.final void
setField
(MarkerField markerField) Set the field for the receiver.
-
Constructor Details
-
MarkerFieldFilter
public MarkerFieldFilter()
-
-
Method Details
-
select
Return whether or not marker should be filtered by the receiver.- Parameters:
item
- item to test- Returns:
- boolean
true
if the marker should be shown.
-
initialize
Initialise the receiver with the values in the values Map.- Parameters:
values
- filter specific arguments- See Also:
-
populateWorkingCopy
Populate the working copy with the copy of whatever fields are required.- Parameters:
copy
- object to populate
-
setField
Set the field for the receiver.- Parameters:
markerField
- the field
-
getField
Get the field for the receiver.- Returns:
- MarkerField
-
saveSettings
Save any of the relevant state for the receiver in the memento so that it can be used to restore the user settings.- Parameters:
memento
- the memento to save in- See Also:
-
loadSettings
Load any settings for the receiver from the memento.- Parameters:
memento
- the memento to load from- See Also:
-