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