Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.view
Interface StatusProvider

All Known Subinterfaces:
DynamicStatusProvider
All Known Implementing Classes:
AbstractMergeEditor, BaseMergeEditor, BaseTextMergeEditor, CodeEditor, DynamicMergeEditor, 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()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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