IValueAccess.getService

Overview | Methods | This Package | All Packages

IValueAccess.getService

Retrieves a host service to assist the value editor in displaying a user interface.

Syntax

public Object getService( Class serviceClass )

Parameters

serviceClass

An interface that represents the requested service. Currently, the only service available is IEditorHost, which can be obtained by passing IEditorHost.class for this parameter.

Return Value

Returns an object that implements the specified interface. If the service is not available, null is returned.

Remarks

This method is typically invoked by the value editor's editValue method to launch a modal dialog box or provide a drop-down list.