Commit | Line | Data |
---|---|---|
eb1bab5b 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 | **********************************************************************/ | |
31a6a4e4 | 12 | package org.eclipse.linuxtools.internal.lttng.ui.views.control.dialogs; |
eb1bab5b | 13 | |
31a6a4e4 | 14 | import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.ITraceControlComponent; |
d132bcc7 BH |
15 | import org.eclipse.rse.core.model.IHost; |
16 | ||
eb1bab5b BH |
17 | /** |
18 | * <b><u>INewConnectionDialog</u></b> | |
19 | * <p> | |
20 | * Interface for connection information dialog. | |
21 | * </p> | |
22 | */ | |
23 | public interface INewConnectionDialog { | |
24 | ||
25 | // ------------------------------------------------------------------------ | |
26 | // Accessors | |
27 | // ------------------------------------------------------------------------ | |
28 | /** | |
bbb3538a | 29 | * @return the connection name (alias). |
eb1bab5b | 30 | */ |
bbb3538a | 31 | public String getConnectionName(); |
eb1bab5b BH |
32 | |
33 | /** | |
bbb3538a | 34 | * @return the host name (IP address or DNS name) |
eb1bab5b | 35 | */ |
bbb3538a | 36 | public String getHostName(); |
d132bcc7 BH |
37 | |
38 | /** | |
39 | * Sets the trace control root | |
40 | * @param parent - the trace control parent | |
41 | */ | |
42 | public void setTraceControlParent(ITraceControlComponent parent); | |
43 | ||
44 | /** | |
45 | * Sets the available hosts to select. | |
46 | * @param hosts - the available hosts | |
47 | */ | |
48 | public void setHosts(IHost[] hosts); | |
eb1bab5b BH |
49 | |
50 | // ------------------------------------------------------------------------ | |
51 | // Operations | |
52 | // ------------------------------------------------------------------------ | |
53 | /** | |
54 | * @return returns the open return value | |
55 | */ | |
56 | int open(); | |
57 | } |