01: /*******************************************************************************
02: * Copyright (c) 2004 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Common Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/cpl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.r21presentation.widgets;
11:
12: /**
13: * This listener receives notifications when the user clicks on one of
14: * the buttons (minimize, maximize, or restore) on a pane folder.
15: *
16: * @since 3.0
17: */
18: public abstract class R21PaneFolderButtonListener {
19:
20: /**
21: * Called when the minimize, maximize, or restore buttons are pressed.
22: *
23: * @param buttonId one of the IStackPresentationSite.STATE_* constants
24: */
25: public void stateButtonPressed(int buttonId) {
26: }
27:
28: /**
29: * Called when a close button is pressed.
30: *
31: * @param item the tab whose close button was pressed
32: */
33: public void closeButtonPressed(CTabItem item) {
34: }
35:
36: /**
37: *
38: * @since 3.0
39: */
40: public void showList(CTabFolderEvent event) {
41: }
42: }
|