Commit | Line | Data |
---|---|---|
6503ae0f BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 Ericsson | |
d4514365 | 3 | * |
6503ae0f 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 | |
d4514365 BH |
8 | * |
9 | * Contributors: | |
6503ae0f BH |
10 | * Bernd Hufmann - Initial API and implementation |
11 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; |
6503ae0f | 13 | |
115b4a01 BH |
14 | import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent; |
15 | import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent; | |
6503ae0f BH |
16 | |
17 | /** | |
6503ae0f BH |
18 | * <p> |
19 | * Interface for a dialog box for collecting information about the events to enable. | |
20 | * </p> | |
d4514365 | 21 | * |
dbd4432d | 22 | * @author Bernd Hufmann |
6503ae0f BH |
23 | */ |
24 | public interface IGetEventInfoDialog { | |
d4514365 | 25 | |
6503ae0f BH |
26 | // ------------------------------------------------------------------------ |
27 | // Accessors | |
28 | // ------------------------------------------------------------------------ | |
29 | /** | |
30 | * @return the session the events shall be enabled. | |
31 | */ | |
32 | public TraceSessionComponent getSession(); | |
33 | ||
34 | /** | |
35 | * @return the channel the events shall be enabled. Null for default channel. | |
36 | */ | |
37 | public TraceChannelComponent getChannel(); | |
d4514365 | 38 | |
d132bcc7 BH |
39 | /** |
40 | * Sets flag about domain. | |
41 | * @param isKernel - true for kernel, false for UST | |
42 | */ | |
43 | public void setIsKernel(boolean isKernel); | |
d4514365 | 44 | |
d132bcc7 BH |
45 | /** |
46 | * Sets available session. | |
47 | * @param sessions - a array of available sessions. | |
48 | */ | |
49 | public void setSessions(TraceSessionComponent[] sessions); | |
6503ae0f | 50 | |
d4514365 BH |
51 | /** |
52 | * Returns the filter expression. | |
53 | * @return the filter expression or null for no filtering | |
54 | */ | |
55 | public String getFilterExpression(); | |
56 | ||
6503ae0f BH |
57 | // ------------------------------------------------------------------------ |
58 | // Operations | |
59 | // ------------------------------------------------------------------------ | |
60 | /** | |
61 | * @return returns the open return value | |
62 | */ | |
63 | int open(); | |
64 | } |