PropertyInfo.getValueEditor

Overview | Methods | This Package | All Packages

PropertyInfo.getValueEditor

Retrieves the value editor of the property.

Syntax

public IValueEditor getValueEditor()

public IValueEditor getValueEditor ( IEditorSite site )

Parameters

site

An object implementing the IEditorSite interface that represents the value editor site.

Return Value

Returns an object implementing the IValueEditor interface that represents the value editor for the property.

Remarks

If a value editor is specified in this PropertyInfo object, that editor is instantiated; otherwise, a system value editor is looked for. If there is no system value editor, null is returned.

Note   Custom system value editors can be added through the ComponentManager.registerValueEditorClass method.