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
Answertopia.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.swt.custom
Interface CTabFolderListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener
All Known Implementing Classes:
CTabFolderAdapter

public interface CTabFolderListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide a method that deals with events generated in the CTabFolder.

After creating an instance of a class that implements this interface it can be added to a CTabFolder using the addCTabFolderListener method and removed using the removeCTabFolderListener method. When a tab item is closed, the itemClosed method will be invoked.

See Also:
CTabFolderEvent

Method Summary
 void itemClosed ( CTabFolderEvent event)
          Sent when the user clicks on the close button of an item in the CTabFolder.
 

Method Detail

itemClosed

void itemClosed(
CTabFolderEvent event)
Sent when the user clicks on the close button of an item in the CTabFolder. The item being closed is specified in the event.item field. Setting the event.doit field to false will stop the CTabItem from closing. When the CTabItem is closed, it is disposed. The contents of the CTabItem (see CTabItem.setControl) will be made not visible when the CTabItem is closed.

Parameters:
event - an event indicating the item being closed
See Also:
CTabItem.setControl(org.eclipse.swt.widgets.Control)

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