Package org.eclipse.ui.views.markers
Class FilterConfigurationArea
java.lang.Object
org.eclipse.ui.views.markers.FilterConfigurationArea
FilterConfigurationArea is the area that the user can configure a filter in.
- Since:
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidapply(MarkerFieldFilter filter) Apply the current settings to the filter.abstract voidcreateContents(Composite parent) Create the contents of the configuration area in the parent.getField()Return the field for the receiver.protected FontMetricsReturn theFontMetricsfor the receiver.getTitle()Get the title for the receiver.booleanReturns whether the configuration area should grab remaining vertical space.abstract voidinitialize(MarkerFieldFilter filter) Initialise the receiver using the filter.protected voidinitializeFontMetrics(Control control) InitialiseFontMetricsfor the receiver.protected voidsetButtonLayoutData(Button button) Set the standard button data for the button.final voidsetField(MarkerField markerField) Set the markerField for the receiver.
-
Constructor Details
-
FilterConfigurationArea
public FilterConfigurationArea()
-
-
Method Details
-
apply
Apply the current settings to the filter.- Parameters:
filter- filter to update
-
createContents
Create the contents of the configuration area in the parent.- Parameters:
parent- the parent composite
-
getFontMetrics
Return theFontMetricsfor the receiver.- Returns:
FontMetricsornullifinitializeFontMetrics(Control)has not been called.
-
getTitle
Get the title for the receiver.- Returns:
- String
-
initializeFontMetrics
InitialiseFontMetricsfor the receiver.- Parameters:
control- control to get font from
-
initialize
Initialise the receiver using the filter.- Parameters:
filter- filter to use
-
setField
Set the markerField for the receiver. This method intended to be called by the marker support framework directly after instantiation of the receiver.- Parameters:
markerField- field to set
-
setButtonLayoutData
Set the standard button data for the button.- Parameters:
button- button to change
-
getField
Return the field for the receiver.- Returns:
- MarkerField
-
grabExcessVerticalSpace
public boolean grabExcessVerticalSpace()Returns whether the configuration area should grab remaining vertical space. The default implementation returnsfalse. Subclasses can override.- Returns:
trueiff the configuration area should grab remaining vertical space- Since:
- 3.5
-