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