Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1b3f288e2d6ddefc57e4acee4f4abed3cabe3098 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
 * Copyright (c) 2012, 2013 Ericsson
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Patrick Tasse - Initial API and implementation
 *******************************************************************************/

package org.eclipse.linuxtools.tmf.ui.widgets.timegraph;

/**
 * A listener which is notified when a timegraph expands or collapses an entry.
 *
 * @version 1.0
 * @author Patrick Tasse
 */
public interface ITimeGraphTreeListener {

    /**
     * Notifies that an entry in the timegraph has been collapsed.
     *
     * @param event event object describing details
     */
    void treeCollapsed(TimeGraphTreeExpansionEvent event);

    /**
     * Notifies that an entry in the timegraph has been expanded.
     *
     * @param event event object describing details
     */
    void treeExpanded(TimeGraphTreeExpansionEvent event);
}

Back to the top