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 | /** | |
15 | * <b><u>ITraceControlComponentChangedListener</u></b> | |
16 | * <p> | |
17 | * Listener interface a class can implement to be notified about changes | |
18 | * of components | |
19 | * </p> | |
20 | */ | |
21 | public interface ITraceControlComponentChangedListener { | |
22 | /** | |
23 | * Interface for notifications about the addition of a component. | |
24 | * @param parent - the parent where the child was added. | |
25 | * @param component - the child that was added. | |
26 | */ | |
27 | public void componentAdded(ITraceControlComponent parent, ITraceControlComponent component); | |
28 | ||
29 | /** | |
30 | * Interface for notifications about the removal of a child. | |
31 | * @param parent - the parent where the child was removed. | |
32 | * @param component - the child that was removed. | |
33 | */ | |
34 | public void componentRemoved(ITraceControlComponent parent, ITraceControlComponent component); | |
35 | /** | |
36 | * NInterface for notifications about the change of a component. | |
37 | * @param component - the component that was changed. | |
38 | */ | |
39 | public void componentChanged(ITraceControlComponent component); | |
40 | } | |
41 |