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
CommitLineData
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 12package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
eb1bab5b 13
115b4a01 14import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent;
d132bcc7
BH
15import 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 */
24public 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}
This page took 0.029602 seconds and 5 git commands to generate.