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