1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
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
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
;
15 import java
.util
.EventObject
;
17 import org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
.model
.ITimeGraphEntry
;
20 * Notifier for the time graph view that a tree has been expanded.
23 * @author Patrick Tasse
25 public class TimeGraphTreeExpansionEvent
extends EventObject
{
28 * Default serial version UID for this class.
31 private static final long serialVersionUID
= 1L;
34 * The entry that was expanded or collapsed.
36 private final ITimeGraphEntry fEntry
;
39 * Creates a new event for the given source and entry.
41 * @param source the tree viewer
42 * @param entry the entry
44 public TimeGraphTreeExpansionEvent(Object source
, ITimeGraphEntry entry
) {
50 * Returns the entry that got expanded or collapsed.
54 public ITimeGraphEntry
getEntry() {