1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.dialogs
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.ITraceControlComponent
;
15 import org
.eclipse
.rse
.core
.model
.IHost
;
19 * Interface for connection information dialog.
22 * @author Bernd Hufmann
24 public interface INewConnectionDialog
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 * @return the connection name (alias).
32 public String
getConnectionName();
35 * @return the host name (IP address or DNS name)
37 public String
getHostName();
40 * @return port of IP connection to be used
45 * Sets the trace control root
46 * @param parent - the trace control parent
48 public void setTraceControlParent(ITraceControlComponent parent
);
51 * Sets the available hosts to select.
52 * @param hosts - the available hosts
54 public void setHosts(IHost
[] hosts
);
57 * Set the port of the IP connection to be used.
58 * @param port - the IP port to set
60 public void setPort(int port
);
62 // ------------------------------------------------------------------------
64 // ------------------------------------------------------------------------
66 * @return returns the open return value