1 /**********************************************************************
2 * Copyright (c) 2012 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
.ui
.views
.control
.dialogs
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.core
.control
.model
.IChannelInfo
;
15 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.impl
.TraceDomainComponent
;
19 * Interface for the enable channel dialog when domain is known.
22 * @author Bernd Hufmann
24 public interface IEnableChannelDialog
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 * @return the configuration info for the new channel.
32 public IChannelInfo
getChannelInfo();
35 * Sets the domain component
36 * @param domain - the trace domain component
38 public void setDomainComponent(TraceDomainComponent domain
);
41 * @return true for Kernel domain. False for UST.
43 public boolean isKernel();
46 * Sets the whether dialog is for Kernel or UST
47 * @param isKernel true for kernel domain else UST
49 public void setHasKernel(boolean isKernel
);
51 // ------------------------------------------------------------------------
53 // ------------------------------------------------------------------------
55 * @return the open return value