Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / internal / lttng / ui / views / control / dialogs / IGetEventInfoDialog.java
CommitLineData
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 **********************************************************************/
31a6a4e4 12package org.eclipse.linuxtools.internal.lttng.ui.views.control.dialogs;
6503ae0f 13
31a6a4e4
BH
14import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.impl.TraceChannelComponent;
15import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.impl.TraceSessionComponent;
6503ae0f
BH
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 */
23public 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}
This page took 0.029625 seconds and 5 git commands to generate.