public class ConnectionConfigPanel
extends java.lang.Object
Use the setPatterns(String, String) method to define the patterns depending on the implementation language.
| Constructor and Description |
|---|
ConnectionConfigPanel(org.eclipse.swt.widgets.Composite pParent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createControls(org.eclipse.swt.widgets.Composite pParent)
Creates all the component's controls.
|
java.lang.String |
getConnectionCode() |
void |
setPatterns(java.lang.String pPipe,
java.lang.String pSocket)
Set the patterns to use in
getConnectionCode(). |
protected void |
updateDetails()
Changes the shown details composite.
|
public ConnectionConfigPanel(org.eclipse.swt.widgets.Composite pParent)
In order to properly work, the parent composite has to have a GridLayout set.
pParent - the parent composite to create the controls in.public void setPatterns(java.lang.String pPipe,
java.lang.String pSocket)
getConnectionCode().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 portpublic java.lang.String getConnectionCode()
for the used patternsprotected void createControls(org.eclipse.swt.widgets.Composite pParent)
pParent - the parent composite where to create the controlsprotected void updateDetails()