KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > presentations > r21 > widgets > R21PaneFolderButtonListener


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.internal.presentations.r21.widgets;
12
13 /**
14  * This listener receives notifications when the user clicks on one of
15  * the buttons (minimize, maximize, or restore) on a pane folder.
16  *
17  * @since 3.0
18  */

19 public abstract class R21PaneFolderButtonListener {
20
21     /**
22      * Called when the minimize, maximize, or restore buttons are pressed.
23      *
24      * @param buttonId one of the IStackPresentationSite.STATE_* constants
25      */

26     public void stateButtonPressed(int buttonId) {
27     }
28
29     /**
30      * Called when a close button is pressed.
31      *
32      * @param item the tab whose close button was pressed
33      */

34     public void closeButtonPressed(CTabItem item) {
35     }
36
37     /**
38      *
39      * @since 3.0
40      */

41     public void showList(CTabFolderEvent event) {
42     }
43 }
44
Popular Tags