9eb823ce4178df687ff977e2586cbd21a3c7af2c
[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 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.internal.lttng2.ui.views.control.dialogs;
13
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;
16
17 /**
18 * <p>
19 * Interface for a dialog box for collecting information about the events to enable.
20 * </p>
21 *
22 * @author Bernd Hufmann
23 */
24 public interface IGetEventInfoDialog {
25
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();
38
39 /**
40 * Sets flag about domain.
41 * @param isKernel - true for kernel, false for UST
42 */
43 public void setIsKernel(boolean isKernel);
44
45 /**
46 * Sets available session.
47 * @param sessions - a array of available sessions.
48 */
49 public void setSessions(TraceSessionComponent[] sessions);
50
51 /**
52 * Returns the filter expression.
53 * @return the filter expression or null for no filtering
54 */
55 public String getFilterExpression();
56
57 // ------------------------------------------------------------------------
58 // Operations
59 // ------------------------------------------------------------------------
60 /**
61 * @return returns the open return value
62 */
63 int open();
64 }
This page took 0.031894 seconds and 4 git commands to generate.