- All Superinterfaces:
public interface IConsolePageParticipant extends IAdaptable
A console page participant is notified of page lifecycle events such as creation, activation, deactivation and disposal. A page participant can also provide adapters for a page. Participants are contributed via the
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
enablementattribute 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.
Method SummaryModifier and TypeMethodDescription
voidNotification this participant's page has been activated.
voidNotification this participant's page has been deactivated.
dispose()Disposes this page participant.
(IPageBookViewPage page, IConsole console)Called during page initialization.
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
(IPageBookViewPage page, IConsole console)Called during page initialization. Marks the start of this page participant's lifecycle.
page- the page corresponding to the given console
console- the console for which a page has been created
disposevoid dispose()Disposes this page participant. Marks the end of this page participant's lifecycle.
activatedvoid activated()Notification this participant's page has been activated.
deactivatedvoid deactivated()Notification this participant's page has been deactivated.