Update internal packages export in LTTng 2.0 control + update java doc
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / INewConnectionDialog.java
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 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
13
14 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent;
15 import org.eclipse.rse.core.model.IHost;
16
17 /**
18 * <p>
19 * Interface for connection information dialog.
20 * </p>
21 *
22 * @author Bernd Hufmann
23 */
24 public interface INewConnectionDialog {
25
26 // ------------------------------------------------------------------------
27 // Accessors
28 // ------------------------------------------------------------------------
29 /**
30 * @return the connection name (alias).
31 */
32 public String getConnectionName();
33
34 /**
35 * @return the host name (IP address or DNS name)
36 */
37 public String getHostName();
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);
50
51 // ------------------------------------------------------------------------
52 // Operations
53 // ------------------------------------------------------------------------
54 /**
55 * @return returns the open return value
56 */
57 int open();
58 }
This page took 0.037263 seconds and 6 git commands to generate.