Skip navigation links
oracle.ide.inspector
Class InspectorWindow
java.lang.Object
oracle.ide.view.View
oracle.ide.view.ViewDecorator
oracle.ide.docking.DockableView
oracle.ide.docking.DockableWindow
oracle.ide.view.AbstractPinnable
oracle.ide.inspector.InspectorWindow
- All Implemented Interfaces:
- java.util.EventListener, ControllerProvider, Dockable, Helpable, PropertyDisplay, Observer, Pinnable, ViewSelectionListener
-
public abstract class InspectorWindow
- extends AbstractPinnable
- implements PropertyDisplay
The InspectorWindow is a View consisting of a Toolbar area, a main body area and a status area. The main body area will contain at least one PropertyPage of type PropertyInspector which displays a list of property-value pairs for the selected object(s) of the active View. When applicable, the InspectorWindow will also display any additional PropertyPage pages that apply to the selection.
- See Also:
PropertyInspector
Field Summary |
static java.lang.String |
INSPECTOR_WINDOW_ID
Id tag used for identifying an InspectorWidow in a ViewId. |
static java.lang.String |
LAYOUT_SHOW_INSPECTOR
Shows the inspector if a property named LAYOUT_SHOW_INSPECTOR is true. |
Method Summary |
int |
dockableOrientation()
|
protected static boolean |
enableListMode()
|
protected boolean |
equalPropertyModel(oracle.bali.inspector.PropertyModel propertyModel)
|
abstract java.awt.Component[] |
getAdditionalTabPages()
Get any additional GUI pages associated with the selected object or null. |
abstract java.beans.Customizer |
getCustomizer()
Get any Customizer associated associated with the selected object or null. |
abstract oracle.bali.inspector.PropertyInspector |
getPropertyInspector()
Get the single PropertyInspector InspectorPage assured to exist for any selected object. |
abstract boolean |
isStatusVisible()
Determine whether or not the status area is currently set to visible. |
abstract void |
setStatus(java.lang.String text)
Display a text message on the status area. |
abstract void |
setStatusVisible(boolean visible)
Set the visibility of the status area. |
void |
showPropertyDescription(java.lang.String description)
|
void |
updateHelp(HelpInfo helpInfo)
|
Methods inherited from class oracle.ide.view.AbstractPinnable |
activeViewChanged, clear, getPinnedView, getPinState, getToolbar, isSingleton, isViewSupported, objectClosed, objectRenamed, persistPinTarget, restorePinTarget, setContext, setPinnedView, setPinState, setToolbarVisible, stateChange, update, viewSelectionChanged, viewSelectionChanged |
Methods inherited from class oracle.ide.docking.DockableWindow |
addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getTabIcon, getType, getUniqueName, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, updateTitle |
Methods inherited from class oracle.ide.view.ViewDecorator |
activate, deactivate, getContext, getContextMenu, getController, getGUI, getHelpInfo, getSelectionFromUI, getViewWithoutDecoration, loadLayout, newId, saveLayout, setOwner, updateVisibleActions |
Methods inherited from class oracle.ide.view.View |
addViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, getTabName, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INSPECTOR_WINDOW_ID
public static final java.lang.String INSPECTOR_WINDOW_ID
- Id tag used for identifying an InspectorWidow in a ViewId.
- See Also:
- Constant Field Values
LAYOUT_SHOW_INSPECTOR
public static final java.lang.String LAYOUT_SHOW_INSPECTOR
- Shows the inspector if a property named
LAYOUT_SHOW_INSPECTOR
is true.
- See Also:
- Constant Field Values
InspectorWindow
protected InspectorWindow(java.lang.String viewId)
enableListMode
protected static final boolean enableListMode()
equalPropertyModel
protected final boolean equalPropertyModel(oracle.bali.inspector.PropertyModel propertyModel)
getPropertyInspector
public abstract oracle.bali.inspector.PropertyInspector getPropertyInspector()
- Get the single PropertyInspector InspectorPage assured to exist for any selected object.
-
- Returns:
- a PropertyInspector.
dockableOrientation
public int dockableOrientation()
getCustomizer
public abstract java.beans.Customizer getCustomizer()
- Get any Customizer associated associated with the selected object or null. If the MultiInspectable whose IdePropertyModel is being displayed represents more than one Inspectable this method will return null.
-
- Returns:
- a Customizer if applicable.
getAdditionalTabPages
public abstract java.awt.Component[] getAdditionalTabPages()
- Get any additional GUI pages associated with the selected object or null. If the MultiInspectable whose IdePropertyModel is being displayed represents more than one Inspectable this method will return null.
-
- Returns:
- an array of Component for display if applicable.
isStatusVisible
public abstract boolean isStatusVisible()
- Determine whether or not the status area is currently set to visible.
-
- Returns:
- true if the status area has not been hidden.
setStatusVisible
public abstract void setStatusVisible(boolean visible)
- Set the visibility of the status area.
-
- Parameters:
visible
- true to display the status area, false to hide it.
showPropertyDescription
public void showPropertyDescription(java.lang.String description)
-
- Specified by:
showPropertyDescription
in interface PropertyDisplay
updateHelp
public void updateHelp(HelpInfo helpInfo)
-
- Specified by:
updateHelp
in interface PropertyDisplay
setStatus
public abstract void setStatus(java.lang.String text)
- Display a text message on the status area.
-
- Parameters:
text
- the message to display.
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.