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
Interface IPartListener

All Known Implementing Classes:
AbstractDebugView, ContentOutline, LabelRetargetAction, PageBookView, PartEventAction, PropertySheet, RetargetAction, TemplatesView

public interface IPartListener

Interface for listening to part lifecycle events.

This interface may be implemented by clients.

See Also:
IPartService.addPartListener(IPartListener)

Method Summary
 void partActivated ( IWorkbenchPart part)
          Notifies this listener that the given part has been activated.
 void partBroughtToTop ( IWorkbenchPart part)
          Notifies this listener that the given part has been brought to the top.
 void partClosed ( IWorkbenchPart part)
          Notifies this listener that the given part has been closed.
 void partDeactivated ( IWorkbenchPart part)
          Notifies this listener that the given part has been deactivated.
 void partOpened ( IWorkbenchPart part)
          Notifies this listener that the given part has been opened.
 

Method Detail

partActivated

void partActivated(
IWorkbenchPart part)
Notifies this listener that the given part has been activated.

Parameters:
part - the part that was activated
See Also:
IWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)

partBroughtToTop

void partBroughtToTop(
IWorkbenchPart part)
Notifies this listener that the given part has been brought to the top.

These events occur when an editor is brought to the top in the editor area, or when a view is brought to the top in a page book with multiple views. They are normally only sent when a part is brought to the top programmatically (via IPerspective.bringToTop). When a part is activated by the user clicking on it, only partActivated is sent.

Parameters:
part - the part that was surfaced
See Also:
IWorkbenchPage.bringToTop(org.eclipse.ui.IWorkbenchPart)

partClosed

void partClosed(
IWorkbenchPart part)
Notifies this listener that the given part has been closed.

Parameters:
part - the part that was closed
See Also:
IWorkbenchPage.hideView(IViewPart)

partDeactivated

void partDeactivated(
IWorkbenchPart part)
Notifies this listener that the given part has been deactivated.

Parameters:
part - the part that was deactivated
See Also:
IWorkbenchPage.activate(IWorkbenchPart)

partOpened

void partOpened(
IWorkbenchPart part)
Notifies this listener that the given part has been opened.

Parameters:
part - the part that was opened
See Also:
IWorkbenchPage.showView(String)

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