X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.lttng2.ui%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Finternal%2Flttng2%2Fui%2Fviews%2Fcontrol%2Fdialogs%2FIEnableChannelDialog.java;h=4f873ce88efd60df0e86eb22b06d37743293c5e8;hb=a6e6f7b4c37dc5adce8b2deeaf1d360b1284ad46;hp=84b74167c6037f3d78863c07911105efab85082c;hpb=d62bfa55b9869503b62adb576f50bf8743129ab0;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IEnableChannelDialog.java b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IEnableChannelDialog.java index 84b74167c6..4f873ce88e 100644 --- a/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IEnableChannelDialog.java +++ b/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/IEnableChannelDialog.java @@ -1,47 +1,53 @@ /********************************************************************** - * Copyright (c) 2012 Ericsson - * + * Copyright (c) 2012, 2013 Ericsson + * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * Bernd Hufmann - Initial API and implementation **********************************************************************/ package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; -import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo; +import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo; import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent; /** - * IEnableChannelDialog *

* Interface for the enable channel dialog when domain is known. *

+ * + * @author Bernd Hufmann */ public interface IEnableChannelDialog { - + // ------------------------------------------------------------------------ // Accessors // ------------------------------------------------------------------------ /** * @return the configuration info for the new channel. */ - public IChannelInfo getChannelInfo(); - + IChannelInfo getChannelInfo(); + /** * Sets the domain component * @param domain - the trace domain component */ - public void setDomainComponent(TraceDomainComponent domain); - + void setDomainComponent(TraceDomainComponent domain); + /** * @return true for Kernel domain. False for UST. */ - public boolean isKernel(); + boolean isKernel(); + + /** + * Sets the whether dialog is for Kernel or UST + * @param isKernel true for kernel domain else UST + */ + void setHasKernel(boolean isKernel); - // ------------------------------------------------------------------------ // Operations // ------------------------------------------------------------------------