From 74eb437b6eee694a5f6278a5253d74eb20d3bd58 Mon Sep 17 00:00:00 2001 From: Bhupendra Bhusman Bhardwaj Date: Thu, 1 Feb 2007 16:34:21 +0000 Subject: some part commented, so that it lets users copy paste the host details on the new connection window git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@502269 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/qpid/management/ui/actions/AddServer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'java/management/eclipse-plugin/src') 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"); -- cgit v1.2.1