Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.view
Interface StatusProvider

All Known Subinterfaces:
DynamicStatusProvider
All Known Implementing Classes:
AbstractMergeEditor, CodeEditor, oracle.jdevimpl.history.HistoryViewer, TextMergeEditor, VersionHistoryViewer

public interface StatusProvider

The StatusProvider interface is the means by which an object may supply custom StatusBar cells for use within a shared StatusBar instance. The typical usage would be for an implentation of View to additionally implement StatusProvider such that its custom cells would appear in the StatusBar of the MainWindow whenever that View itself was the active View.


Method Summary
 javax.swing.JComponent[] getCustomCells()
          Get an array of custom cells to add to a StatusBar.
 boolean isExpandable(javax.swing.JComponent customCell)
          Determine whether the given custom cell should expand to fill any extra space beyond its minimum requirements.
 

Method Detail

getCustomCells

javax.swing.JComponent[] getCustomCells()
Get an array of custom cells to add to a StatusBar. The cells will be added to the StatusBar in the same order as they appear in the resulting array.

Returns:
an ordered array of custom status cells or null
See Also:
StatusBar

isExpandable

boolean isExpandable(javax.swing.JComponent customCell)
Determine whether the given custom cell should expand to fill any extra space beyond its minimum requirements.

Returns:
true if customCell should expand to fill extra space.
See Also:
getCustomCells()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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