1 /**********************************************************************
2 * Copyright (c) 2012, 2014 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.tracecompass
.internal
.lttng2
.control
.ui
.views
.dialogs
;
14 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.model
.TraceDomainType
;
15 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.model
.IChannelInfo
;
16 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TargetNodeComponent
;
17 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceDomainComponent
;
21 * Interface for the enable channel dialog when domain is known.
24 * @author Bernd Hufmann
26 public interface IEnableChannelDialog
{
28 // ------------------------------------------------------------------------
30 // ------------------------------------------------------------------------
32 * @return the configuration info for the new channel.
34 IChannelInfo
getChannelInfo();
37 * Sets the domain component
38 * @param domain - the trace domain component
40 void setDomainComponent(TraceDomainComponent domain
);
43 * Set the targent node component
44 * @param node - the node component
46 void setTargetNodeComponent(TargetNodeComponent node
);
49 * @return The domain type ({@link TraceDomainType})
51 TraceDomainType
getDomain();
54 * Sets the whether dialog is for Kernel or UST
55 * @param isKernel true for kernel domain else UST
57 void setHasKernel(boolean isKernel
);
59 // ------------------------------------------------------------------------
61 // ------------------------------------------------------------------------
63 * @return the open return value