1 /**********************************************************************
2 * Copyright (c) 2012, 2013 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
.linuxtools
.internal
.lttng2
.control
.ui
.views
.dialogs
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.core
.model
.IChannelInfo
;
15 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TargetNodeComponent
;
16 import org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceDomainComponent
;
20 * Interface for the enable channel dialog when domain is known.
23 * @author Bernd Hufmann
25 public interface IEnableChannelDialog
{
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
31 * @return the configuration info for the new channel.
33 IChannelInfo
getChannelInfo();
36 * Sets the domain component
37 * @param domain - the trace domain component
39 void setDomainComponent(TraceDomainComponent domain
);
42 * Set the targent node component
43 * @param node - the node component
45 void setTargetNodeComponent(TargetNodeComponent node
);
48 * @return true for Kernel domain. False for UST.
53 * Sets the whether dialog is for Kernel or UST
54 * @param isKernel true for kernel domain else UST
56 void setHasKernel(boolean isKernel
);
58 // ------------------------------------------------------------------------
60 // ------------------------------------------------------------------------
62 * @return the open return value