Commit | Line | Data |
---|---|---|
eb1bab5b | 1 | /********************************************************************** |
a6e6f7b4 BH |
2 | * Copyright (c) 2012, 2013 Ericsson |
3 | * | |
eb1bab5b BH |
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 | |
a6e6f7b4 BH |
8 | * |
9 | * Contributors: | |
eb1bab5b BH |
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 | 15 | * <p> |
a6e6f7b4 BH |
16 | * Listener interface a class can implement to be notified about changes |
17 | * of components | |
eb1bab5b | 18 | * </p> |
a6e6f7b4 | 19 | * |
dbd4432d | 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 | */ | |
a6e6f7b4 | 28 | void componentAdded(ITraceControlComponent parent, ITraceControlComponent component); |
eb1bab5b BH |
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 | */ | |
a6e6f7b4 | 35 | void componentRemoved(ITraceControlComponent parent, ITraceControlComponent component); |
eb1bab5b BH |
36 | /** |
37 | * NInterface for notifications about the change of a component. | |
38 | * @param component - the component that was changed. | |
39 | */ | |
a6e6f7b4 | 40 | void componentChanged(ITraceControlComponent component); |
eb1bab5b BH |
41 | } |
42 |