Commit | Line | Data |
---|---|---|
6503ae0f 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 | **********************************************************************/ | |
12 | package org.eclipse.linuxtools.lttng.ui.views.control.dialogs; | |
13 | ||
14 | import org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent; | |
15 | import org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent; | |
16 | ||
17 | /** | |
18 | * <b><u>IEnableEventsDialog</u></b> | |
19 | * <p> | |
20 | * Interface for a dialog box for collecting information about the events to enable. | |
21 | * </p> | |
22 | */ | |
23 | public interface IGetEventInfoDialog { | |
24 | ||
25 | // ------------------------------------------------------------------------ | |
26 | // Accessors | |
27 | // ------------------------------------------------------------------------ | |
28 | /** | |
29 | * @return the session the events shall be enabled. | |
30 | */ | |
31 | public TraceSessionComponent getSession(); | |
32 | ||
33 | /** | |
34 | * @return the channel the events shall be enabled. Null for default channel. | |
35 | */ | |
36 | public TraceChannelComponent getChannel(); | |
d132bcc7 BH |
37 | |
38 | /** | |
39 | * Sets flag about domain. | |
40 | * @param isKernel - true for kernel, false for UST | |
41 | */ | |
42 | public void setIsKernel(boolean isKernel); | |
43 | ||
44 | /** | |
45 | * Sets available session. | |
46 | * @param sessions - a array of available sessions. | |
47 | */ | |
48 | public void setSessions(TraceSessionComponent[] sessions); | |
6503ae0f BH |
49 | |
50 | // ------------------------------------------------------------------------ | |
51 | // Operations | |
52 | // ------------------------------------------------------------------------ | |
53 | /** | |
54 | * @return returns the open return value | |
55 | */ | |
56 | int open(); | |
57 | } |