Commit | Line | Data |
---|---|---|
be222f56 | 1 | /******************************************************************************* |
57a2a5ca | 2 | * Copyright (c) 2012, 2013 Ericsson |
be222f56 PT |
3 | * |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Patrick Tasse - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.ui.widgets.timegraph; | |
14 | ||
15 | /** | |
16 | * A listener which is notified when a timegraph expands or collapses an entry. | |
17 | * | |
18 | * @version 1.0 | |
19 | * @author Patrick Tasse | |
20 | */ | |
21 | public interface ITimeGraphTreeListener { | |
22 | ||
23 | /** | |
24 | * Notifies that an entry in the timegraph has been collapsed. | |
25 | * | |
26 | * @param event event object describing details | |
27 | */ | |
57a2a5ca | 28 | void treeCollapsed(TimeGraphTreeExpansionEvent event); |
be222f56 PT |
29 | |
30 | /** | |
31 | * Notifies that an entry in the timegraph has been expanded. | |
32 | * | |
33 | * @param event event object describing details | |
34 | */ | |
57a2a5ca | 35 | void treeExpanded(TimeGraphTreeExpansionEvent event); |
be222f56 | 36 | } |