8024602df07f9e193d4e090e8c6151da88be9f6e
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IEnableChannelDialog.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
13
14 import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo;
15 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent;
16 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent;
17
18 /**
19 * <p>
20 * Interface for the enable channel dialog when domain is known.
21 * </p>
22 *
23 * @author Bernd Hufmann
24 */
25 public interface IEnableChannelDialog {
26
27 // ------------------------------------------------------------------------
28 // Accessors
29 // ------------------------------------------------------------------------
30 /**
31 * @return the configuration info for the new channel.
32 */
33 IChannelInfo getChannelInfo();
34
35 /**
36 * Sets the domain component
37 * @param domain - the trace domain component
38 */
39 void setDomainComponent(TraceDomainComponent domain);
40
41 /**
42 * Set the targent node component
43 * @param node - the node component
44 */
45 void setTargetNodeComponent(TargetNodeComponent node);
46
47 /**
48 * @return true for Kernel domain. False for UST.
49 */
50 boolean isKernel();
51
52 /**
53 * Sets the whether dialog is for Kernel or UST
54 * @param isKernel true for kernel domain else UST
55 */
56 void setHasKernel(boolean isKernel);
57
58 // ------------------------------------------------------------------------
59 // Operations
60 // ------------------------------------------------------------------------
61 /**
62 * @return the open return value
63 */
64 int open();
65 }
This page took 0.034283 seconds and 4 git commands to generate.