Class ConnectionConfigPanel
- java.lang.Object
-
- org.libreoffice.ide.eclipse.core.gui.ConnectionConfigPanel
-
public class ConnectionConfigPanel extends java.lang.ObjectGeneric component for the selection of the parameters of a UNO connection.Use the
setPatterns(String, String)method to define the patterns depending on the implementation language.
-
-
Constructor Summary
Constructors Constructor Description ConnectionConfigPanel(org.eclipse.swt.widgets.Composite pParent)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateControls(org.eclipse.swt.widgets.Composite pParent)Creates all the component's controls.java.lang.StringgetConnectionCode()voidsetPatterns(java.lang.String pPipe, java.lang.String pSocket)Set the patterns to use ingetConnectionCode().protected voidupdateDetails()Changes the shown details composite.
-
-
-
Method Detail
-
setPatterns
public void setPatterns(java.lang.String pPipe, java.lang.String pSocket)Set the patterns to use ingetConnectionCode().- Parameters:
pPipe- the pattern for the pipe connection type. The parameter{0}is the pipe's name.pSocket- the pattern for the socket connection type. The parameters mapping is the following:{0}maps to the host{1}maps to the port
-
getConnectionCode
public java.lang.String getConnectionCode()
- Returns:
- the formatted connection code
- See Also:
for the used patterns
-
createControls
protected void createControls(org.eclipse.swt.widgets.Composite pParent)
Creates all the component's controls.- Parameters:
pParent- the parent composite where to create the controls
-
updateDetails
protected void updateDetails()
Changes the shown details composite.
-
-