summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/AddServer.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/AddServer.java b/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/AddServer.java
index 14c214ad5f..2586369515 100644
--- a/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/AddServer.java
+++ b/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/actions/AddServer.java
@@ -165,6 +165,8 @@ public class AddServer/* extends Action*/ implements IWorkbenchWindowActionDeleg
textHost.setText("");
textHost.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false));
textHost.setFocus();
+ /*
+ //Commented so that it lets users copy paste the host name from somewhere else
textHost.addVerifyListener(new VerifyListener(){
public void verifyText(VerifyEvent event)
{
@@ -176,7 +178,7 @@ public class AddServer/* extends Action*/ implements IWorkbenchWindowActionDeleg
}
}
});
-
+ */
Label port = new Label(composite, SWT.NONE);
port.setText("Port");
@@ -185,6 +187,7 @@ public class AddServer/* extends Action*/ implements IWorkbenchWindowActionDeleg
final Text textPort = new Text(composite, SWT.BORDER);
textPort.setText("");
textPort.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false));
+ /* commented to allow copy paste on this window
textPort.addVerifyListener(new VerifyListener(){
public void verifyText(VerifyEvent event)
{
@@ -197,7 +200,7 @@ public class AddServer/* extends Action*/ implements IWorkbenchWindowActionDeleg
}
}
});
-
+ */
Label domain = new Label(composite, SWT.NONE);
domain.setText("Domain");