Commit | Line | Data |
---|---|---|
bbb3538a BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 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 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; |
bbb3538a | 13 | |
9315aeee | 14 | import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo; |
115b4a01 | 15 | import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent; |
bbb3538a BH |
16 | |
17 | /** | |
bbb3538a | 18 | * <p> |
d62bfa55 | 19 | * Interface for the enable channel dialog when domain is known. |
bbb3538a | 20 | * </p> |
a07c7629 | 21 | * |
dbd4432d | 22 | * @author Bernd Hufmann |
bbb3538a | 23 | */ |
d62bfa55 | 24 | public interface IEnableChannelDialog { |
a07c7629 | 25 | |
bbb3538a BH |
26 | // ------------------------------------------------------------------------ |
27 | // Accessors | |
28 | // ------------------------------------------------------------------------ | |
29 | /** | |
30 | * @return the configuration info for the new channel. | |
31 | */ | |
32 | public IChannelInfo getChannelInfo(); | |
a07c7629 | 33 | |
d132bcc7 BH |
34 | /** |
35 | * Sets the domain component | |
36 | * @param domain - the trace domain component | |
37 | */ | |
38 | public void setDomainComponent(TraceDomainComponent domain); | |
a07c7629 | 39 | |
c56972bb BH |
40 | /** |
41 | * @return true for Kernel domain. False for UST. | |
42 | */ | |
43 | public boolean isKernel(); | |
44 | ||
a07c7629 BH |
45 | /** |
46 | * Sets the whether dialog is for Kernel or UST | |
47 | * @param isKernel true for kernel domain else UST | |
48 | */ | |
49 | public void setHasKernel(boolean isKernel); | |
50 | ||
bbb3538a BH |
51 | // ------------------------------------------------------------------------ |
52 | // Operations | |
53 | // ------------------------------------------------------------------------ | |
54 | /** | |
55 | * @return the open return value | |
56 | */ | |
57 | int open(); | |
58 | } |