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
.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 * Sets the trace control root
41 * @param parent - the trace control parent
43 public void setTraceControlParent(ITraceControlComponent parent
);
46 * Sets the available hosts to select.
47 * @param hosts - the available hosts
49 public void setHosts(IHost
[] hosts
);
51 // ------------------------------------------------------------------------
53 // ------------------------------------------------------------------------
55 * @return returns the open return value