1325f42384c96cdbe700157f765d811e28ce7803
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IGetEventInfoDialog.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 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 * Bernd Hufmann - Updated for support of LTTng Tools 2.1
12 **********************************************************************/
13 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
14
15 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent;
16 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent;
17
18 /**
19 * <p>
20 * Interface for a dialog box for collecting information about the events to enable.
21 * </p>
22 *
23 * @author Bernd Hufmann
24 */
25 public interface IGetEventInfoDialog {
26
27 // ------------------------------------------------------------------------
28 // Accessors
29 // ------------------------------------------------------------------------
30 /**
31 * @return the session the events shall be enabled.
32 */
33 TraceSessionComponent getSession();
34
35 /**
36 * @return the channel the events shall be enabled. Null for default channel.
37 */
38 TraceChannelComponent getChannel();
39
40 /**
41 * Sets flag about domain.
42 * @param isKernel - true for kernel, false for UST
43 */
44 void setIsKernel(boolean isKernel);
45
46 /**
47 * Sets available session.
48 * @param sessions - a array of available sessions.
49 */
50 void setSessions(TraceSessionComponent[] sessions);
51
52 /**
53 * Returns the filter expression.
54 * @return the filter expression or null for no filtering
55 */
56 String getFilterExpression();
57
58 // ------------------------------------------------------------------------
59 // Operations
60 // ------------------------------------------------------------------------
61 /**
62 * @return returns the open return value
63 */
64 int open();
65 }
This page took 0.032836 seconds and 4 git commands to generate.