1 /**********************************************************************
2 * Copyright (c) 2012 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
.lttng
.ui
.views
.control
.dialogs
;
14 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.model
.ITraceControlComponent
;
15 import org
.eclipse
.rse
.core
.model
.IHost
;
18 * <b><u>INewConnectionDialog</u></b>
20 * Interface for connection information dialog.
23 public interface INewConnectionDialog
{
25 // ------------------------------------------------------------------------
27 // ------------------------------------------------------------------------
29 * @return the connection name (alias).
31 public String
getConnectionName();
34 * @return the host name (IP address or DNS name)
36 public String
getHostName();
39 * Sets the trace control root
40 * @param parent - the trace control parent
42 public void setTraceControlParent(ITraceControlComponent parent
);
45 * Sets the available hosts to select.
46 * @param hosts - the available hosts
48 public void setHosts(IHost
[] hosts
);
50 // ------------------------------------------------------------------------
52 // ------------------------------------------------------------------------
54 * @return returns the open return value