Eclipse Platform
Release 3.4

org.eclipse.ui.views.markers
Class FilterConfigurationArea

java.lang.Object
  extended byorg.eclipse.ui.views.markers.FilterConfigurationArea

public abstract class FilterConfigurationArea
extends Object

FilterConfigurationArea is the area that the user can configure a filter in.

Since:
3.4

Constructor Summary
FilterConfigurationArea()
           
 
Method Summary
abstract  void apply(MarkerFieldFilter filter)
          Apply the current settings to the filter.
abstract  void createContents(Composite parent)
          Create the contents of the configuration area in the parent.
 MarkerField getField()
          Return the field for the receiver.
protected  FontMetrics getFontMetrics()
          Return the FontMetrics for the receiver.
 String getTitle()
          Get the title for the receiver.
abstract  void initialize(MarkerFieldFilter filter)
          Initialise the receiver using the filter.
protected  void initializeFontMetrics(Control control)
          Initialise FontMetrics for the receiver.
protected  void setButtonLayoutData(Button button)
          Set the standard button data for the button.
 void setField(MarkerField markerField)
          Set the markerField for the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterConfigurationArea

public FilterConfigurationArea()
Method Detail

apply

public abstract void apply(MarkerFieldFilter filter)
Apply the current settings to the filter.

Parameters:
filter -

createContents

public abstract void createContents(Composite parent)
Create the contents of the configuration area in the parent.

Parameters:
parent -

getFontMetrics

protected FontMetrics getFontMetrics()
Return the FontMetrics for the receiver.

Returns:
FontMetrics or null if initializeFontMetrics(Control) has not been called.

getTitle

public String getTitle()
Get the title for the receiver.

Returns:
String

initializeFontMetrics

protected void initializeFontMetrics(Control control)
Initialise FontMetrics for the receiver.

Parameters:
control -

initialize

public abstract void initialize(MarkerFieldFilter filter)
Initialise the receiver using the filter.

Parameters:
filter -

setField

public final void setField(MarkerField markerField)
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 -

setButtonLayoutData

protected void setButtonLayoutData(Button button)
Set the standard button data for the button.

Parameters:
button -

getField

public MarkerField getField()
Return the field for the receiver.

Returns:
MarkerField

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.