chemaxon.marvin.services
Interface ServiceDescriptorEditorProvider


public interface ServiceDescriptorEditorProvider

Provides ServiceDescriptorEditor instances based on ServiceDescriptor classes.

Since:
5.6
Author:
Istvan Rabel

Method Summary
<T extends chemaxon.marvin.services.ServiceDescriptor>
ServiceDescriptorEditor<T>
getEditor(java.lang.Class<T> descriptorClass)
          Returns a ServiceDescriptorEditor instance for specified ServiceDescriptor class
 java.util.Set<java.lang.Class<chemaxon.marvin.services.ServiceDescriptor>> getSupportedDescriptors()
          Returns a set of supported ServiceDescriptor classes.
 

Method Detail

getEditor

<T extends chemaxon.marvin.services.ServiceDescriptor> ServiceDescriptorEditor<T> getEditor(java.lang.Class<T> descriptorClass)
Returns a ServiceDescriptorEditor instance for specified ServiceDescriptor class

Type Parameters:
T - the ServiceDescriptor subclass
Parameters:
descriptorClass - the class of ServiceDescriptor implementation
Returns:
a ServiceDescriptorEditor instance for specified ServiceDescriptor class, or null if no editor

getSupportedDescriptors

java.util.Set<java.lang.Class<chemaxon.marvin.services.ServiceDescriptor>> getSupportedDescriptors()
Returns a set of supported ServiceDescriptor classes.

Returns:
a set of supported ServiceDescriptor classes.