Extension SDK 10.1.2

oracle.ide.inspector
Interface InspectableFactory


public interface InspectableFactory

An InspectableFactory may be registered with the InspectorFactory such that a Context selection made up entirely of instances of a single data type may be collectively described to the InspectorWindow via an instance of a single Inspectable whose PropertyModel amalgamates the property settings of the entire selection.

As with any other Inspectable, the Inspectable returned via getInspectable will stil be wrapped within an instance of MultiInspectable before being handed off to the InspectorWindow for display.

See Also:
InspectorFactory.addInspectableFactory, Inspectable, MultiInspectable, InspectorWindow

Method Summary
 Inspectable getInspectable(Context context)
          Get an Inspectable capable of handling the entire selection of the given Context.
 

Method Detail

getInspectable

public Inspectable getInspectable(Context context)
Get an Inspectable capable of handling the entire selection of the given Context. If the data type of any Element within the Context's selection, as returned by Element.getData, is not recognized by this factory, then a null value should be returned.

Parameters:
context - the Context containing the selection for which an Inspectable is desired.
Returns:
An Inspectable or null.

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.