# External Filter for Table Editor

###### Identifier:

org.eclipse.datatools.sqltools.data.core.tableEditorResultFilter

###### Since:

[Enter the first release in which this extension point appears.]

###### Description:

This extension point allows users to set a filter for the columns and/or the where clause to use when the table editor cells are constructed. Generally, all columns of all rows are displayed in the table editor. This extension point allows users to restrict the columns/rows to be edited.

###### Configuration Markup:

<!ELEMENT extension (editorFilter)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT editorFilter EMPTY>

<!ATTLIST editorFilter

vendor CDATA #IMPLIED

class CDATA #REQUIRED

>

Element specifies an external filter is to be used to filter the results sets used by the table editor

- vendor - Vendor: String as returned by org.eclipse.datatools.modelbase.sql.schema.Database.getVendor(). Ommit to match all vendors.
- class - Class name: Fully qualified name of the Class that is to be used to filter the results used by the table editor. The class must implement the org.eclipse.datatools.sqltools.data.internal.ui.editor.ITableEditorResultFilter interface. If the method isUseExternalFilterDialog() returns false then the external filter will not be used, instead the default results will be used by the editor. If isUseExternalFilterDialog() returns true then the external filter will be used. This mechanism is used so that a preference can be used to determine by default whether or not to use external filter.

###### Examples:

[Enter extension point usage example here.]

###### API Information:

[Enter API information here.]

###### Supplied Implementation:

[Enter information about supplied implementation of this extension point.]