public interface IConsolePageParticipant extends IAdaptable
org.eclispe.ui.console.consolePageParticipants
extension point.
Participant behavior is implementation dependent. For example, a page participant could add actions to a console's toolbar by accessing a its page's action bars.
Following is an example extension definition.
<extension point="org.eclipse.ui.console.consolePageParticipants"> <consolePageParticipant id="com.example.ExamplePageParticipant" class="com.example.ExamplePageParticipant"> </consolePageParticipant> </extension>The example page participant is contributed to all console pages. An optional
enablement
attribute may be specified to control which consoles
a page participant is applicable to.
Clients contributing console page participant extensions are intended to implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
activated()
Notification this participant's page has been activated.
|
void |
deactivated()
Notification this participant's page has been deactivated.
|
void |
dispose()
Disposes this page participant.
|
void |
init(IPageBookViewPage page,
IConsole console)
Called during page initialization.
|
getAdapter
void init(IPageBookViewPage page, IConsole console)
page
- the page corresponding to the given consoleconsole
- the console for which a page has been createdvoid dispose()
void activated()
void deactivated()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.