Commit | Line | Data |
---|---|---|
eb1bab5b BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 Ericsson | |
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 | * Bernd Hufmann - Initial API and implementation | |
11 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.model; |
eb1bab5b BH |
13 | |
14 | /** | |
eb1bab5b BH |
15 | * <p> |
16 | * Listener interface a class can implement to be notified about changes | |
17 | * of components | |
18 | * </p> | |
dbd4432d BH |
19 | * |
20 | * @author Bernd Hufmann | |
eb1bab5b BH |
21 | */ |
22 | public interface ITraceControlComponentChangedListener { | |
23 | /** | |
24 | * Interface for notifications about the addition of a component. | |
25 | * @param parent - the parent where the child was added. | |
26 | * @param component - the child that was added. | |
27 | */ | |
28 | public void componentAdded(ITraceControlComponent parent, ITraceControlComponent component); | |
29 | ||
30 | /** | |
31 | * Interface for notifications about the removal of a child. | |
32 | * @param parent - the parent where the child was removed. | |
33 | * @param component - the child that was removed. | |
34 | */ | |
35 | public void componentRemoved(ITraceControlComponent parent, ITraceControlComponent component); | |
36 | /** | |
37 | * NInterface for notifications about the change of a component. | |
38 | * @param component - the component that was changed. | |
39 | */ | |
40 | public void componentChanged(ITraceControlComponent component); | |
41 | } | |
42 |