|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TitleProvider
A product may provide a TitleProvider implementation to provide a custom title for the main window.
The getTitle(View)
method will be called each time an event occurs that invalidates the main window title. Products and extensions may also force an update of the titlebar by calling IdeMainWindow.updateTitle()
.
Implementations should take care to avoid doing expensive lookup in the getTitle(View)
method. The title may be refreshed very frequently.
Generally an implementation of this interface will use the IdeMainWindow.getMainTitle()
method to get the first part of the titlebar text, then append to it some view or context specific information. However, this is not required.
Products register TitleProvider implementations as part of the <product-hook> in the product extension manifest. A default provider is always present in the base IDE which includes the active workspace, active project and file being edited (if any).
Method Summary | |
---|---|
java.lang.String |
getTitle(View activeView) Returns the titlebar text to use. |
Method Detail |
---|
java.lang.String getTitle(View activeView)
activeView
- the active view at the time the request to update the title was received. May be null.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |