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 IPerspectiveListener4

All Superinterfaces:
IPerspectiveListener, IPerspectiveListener2, IPerspectiveListener3
All Known Implementing Classes:
PerspectiveAdapter

public interface IPerspectiveListener4
extends IPerspectiveListener3

Extension interface to IPerspectiveListener which adds support for listening to perspective pre-deactivate events.

This interface may be implemented by clients.

Since:
3.2
See Also:
IPageService.addPerspectiveListener(IPerspectiveListener), PerspectiveAdapter

Method Summary
 void perspectivePreDeactivate ( IWorkbenchPage page, IPerspectiveDescriptor perspective)
           Notifies this listener that a perspective in the given page is about to be deactivated.
 
Methods inherited from interface org.eclipse.ui. IPerspectiveListener3
perspectiveClosed, perspectiveDeactivated, perspectiveOpened, perspectiveSavedAs
 
Methods inherited from interface org.eclipse.ui. IPerspectiveListener2
perspectiveChanged
 
Methods inherited from interface org.eclipse.ui. IPerspectiveListener
perspectiveActivated, perspectiveChanged
 

Method Detail

perspectivePreDeactivate

void perspectivePreDeactivate(
IWorkbenchPage page,
                              
IPerspectiveDescriptor perspective)

Notifies this listener that a perspective in the given page is about to be deactivated.

Note: This does not have the ability to veto a perspective deactivation.

Parameters:
page - the page containing the deactivated perspective
perspective - the perspective descriptor that was deactivated
See Also:
IWorkbenchPage.setPerspective(IPerspectiveDescriptor)

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