Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.console
Interface IConsolePageParticipant

All Superinterfaces:
IAdaptable

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 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.

Since:
3.1

Method Summary
 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.
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

init

void init(
IPageBookViewPage page,
          
IConsole console)
Called during page initialization. Marks the start of this page participant's lifecycle.

Parameters:
page - the page corresponding to the given console
console - the console for which a page has been created

dispose

void dispose()
Disposes this page participant. Marks the end of this page participant's lifecycle.


activated

void activated()
Notification this participant's page has been activated.


deactivated

void deactivated()
Notification this participant's page has been deactivated.


Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire