01: /*******************************************************************************
02: * Copyright (c) 2000, 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.jface.viewers;
11:
12: /**
13: * A listener which is notified when a tree viewer expands or collapses
14: * a node.
15: */
16: public interface ITreeViewerListener {
17: /**
18: * Notifies that a node in the tree has been collapsed.
19: *
20: * @param event event object describing details
21: */
22: public void treeCollapsed(TreeExpansionEvent event);
23:
24: /**
25: * Notifies that a node in the tree has been expanded.
26: *
27: * @param event event object describing details
28: */
29: public void treeExpanded(TreeExpansionEvent event);
30: }
|