Copyright header update, 2015 edition
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / dialogs / IEnableChannelDialog.java
CommitLineData
bbb3538a 1/**********************************************************************
ed902a2b 2 * Copyright (c) 2012, 2014 Ericsson
a07c7629 3 *
bbb3538a
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
a07c7629
BH
8 *
9 * Contributors:
bbb3538a
BH
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
9bc60be7 12package org.eclipse.tracecompass.internal.lttng2.control.ui.views.dialogs;
bbb3538a 13
9bc60be7
AM
14import org.eclipse.tracecompass.internal.lttng2.control.core.model.IChannelInfo;
15import org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TargetNodeComponent;
16import org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceDomainComponent;
bbb3538a
BH
17
18/**
bbb3538a 19 * <p>
d62bfa55 20 * Interface for the enable channel dialog when domain is known.
bbb3538a 21 * </p>
a07c7629 22 *
dbd4432d 23 * @author Bernd Hufmann
bbb3538a 24 */
d62bfa55 25public interface IEnableChannelDialog {
a07c7629 26
bbb3538a
BH
27 // ------------------------------------------------------------------------
28 // Accessors
29 // ------------------------------------------------------------------------
30 /**
31 * @return the configuration info for the new channel.
32 */
a6e6f7b4 33 IChannelInfo getChannelInfo();
a07c7629 34
d132bcc7
BH
35 /**
36 * Sets the domain component
37 * @param domain - the trace domain component
38 */
a6e6f7b4 39 void setDomainComponent(TraceDomainComponent domain);
a07c7629 40
e799e5f3
SD
41 /**
42 * Set the targent node component
43 * @param node - the node component
44 */
45 void setTargetNodeComponent(TargetNodeComponent node);
46
c56972bb
BH
47 /**
48 * @return true for Kernel domain. False for UST.
49 */
a6e6f7b4 50 boolean isKernel();
c56972bb 51
a07c7629
BH
52 /**
53 * Sets the whether dialog is for Kernel or UST
54 * @param isKernel true for kernel domain else UST
55 */
a6e6f7b4 56 void setHasKernel(boolean isKernel);
a07c7629 57
bbb3538a
BH
58 // ------------------------------------------------------------------------
59 // Operations
60 // ------------------------------------------------------------------------
61 /**
62 * @return the open return value
63 */
64 int open();
65}
This page took 0.06127 seconds and 5 git commands to generate.