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 | **********************************************************************/ | |
12 | package org.eclipse.linuxtools.lttng.ui.views.control.dialogs; | |
13 | ||
14 | import org.eclipse.linuxtools.lttng.ui.views.control.model.IChannelInfo; | |
15 | ||
16 | /** | |
17 | * <b><u>ICreateChannelDialog</u></b> | |
18 | * <p> | |
19 | * Interface for the create channel dialog when domain is known. | |
20 | * </p> | |
21 | */ | |
22 | public interface ICreateChannelDialog { | |
23 | ||
24 | // ------------------------------------------------------------------------ | |
25 | // Accessors | |
26 | // ------------------------------------------------------------------------ | |
27 | /** | |
28 | * @return the configuration info for the new channel. | |
29 | */ | |
30 | public IChannelInfo getChannelInfo(); | |
31 | ||
32 | // ------------------------------------------------------------------------ | |
33 | // Operations | |
34 | // ------------------------------------------------------------------------ | |
35 | /** | |
36 | * @return the open return value | |
37 | */ | |
38 | int open(); | |
39 | } |