|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.inspector.DefaultInspectable
DefaultInspectable is a default implementation of the Inspectable interface. For most data types this implementation should be sufficient and will be used to describe instances of any data types which implenent SupportsInspection but for which no explicit Inspectable has been registered with the InspectorFactory.
The target of this implementation is considered to be the data associated with the first element of the selection found in the Context provided (i.e. Context.getSelection()[0].getData()). In the event of an empty selection, the target is considered to be the data associated with the Document of the Context (i.e. Context.getDocument().getData()).
The PropertyModel of this implementation is an instance of DefaultModel constructed upon the target.
The Customizer of this implementation is the Customizer, if any, provided by the BeanInfo, if found, for the Class of the target.
No additional tab pages are provided by this implementation.
Field Summary | |
protected oracle.bali.inspector.PropertyModel |
propertyModel
The model describing the target. |
protected java.lang.Object |
target
The target being described. |
Constructor Summary | |
DefaultInspectable()
Constructor. |
Method Summary | |
java.awt.Component[] |
getAdditionalTabPages()
Get any additional tab pages applicable to the target. |
java.beans.Customizer |
getCustomizer()
Get any Customizer applicable to the target object. |
oracle.bali.inspector.PropertyModel |
getPropertyModel()
Get a PropertyModel describing the target object. |
java.lang.Object |
getTarget()
Get the target object. |
void |
setContext(Context context)
Initialize from the selection of the given Context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Object target
protected oracle.bali.inspector.PropertyModel propertyModel
Constructor Detail |
public DefaultInspectable()
Method Detail |
public void setContext(Context context)
setContext
in interface Inspectable
context
- the Context from which to initialize.public java.lang.Object getTarget()
getTarget
in interface Inspectable
public oracle.bali.inspector.PropertyModel getPropertyModel()
getPropertyModel
in interface Inspectable
public java.beans.Customizer getCustomizer()
getCustomizer
in interface Inspectable
public java.awt.Component[] getAdditionalTabPages()
getAdditionalTabPages
in interface Inspectable
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.