Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-03-27 19:26:25 +0000
committerslewis2007-03-27 19:26:25 +0000
commit15523499368e1ceb61435b3913380e8d833d6e16 (patch)
tree86333150b18b99523659739b734cac6be869ef6a /framework
parent06c5d3f23aa611512663c7866845abe568f9f170 (diff)
downloadorg.eclipse.ecf-15523499368e1ceb61435b3913380e8d833d6e16.tar.gz
org.eclipse.ecf-15523499368e1ceb61435b3913380e8d833d6e16.tar.xz
org.eclipse.ecf-15523499368e1ceb61435b3913380e8d833d6e16.zip
Fixed focus bug for chatroommanager channel output window
Diffstat (limited to 'framework')
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatRoomManagerView.java13
1 files changed, 1 insertions, 12 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatRoomManagerView.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatRoomManagerView.java
index ac93a8009..3e3280304 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatRoomManagerView.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatRoomManagerView.java
@@ -61,8 +61,6 @@ import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.custom.StyleRange;
import org.eclipse.swt.custom.StyledText;
-import org.eclipse.swt.events.FocusEvent;
-import org.eclipse.swt.events.FocusListener;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.KeyListener;
import org.eclipse.swt.events.SelectionEvent;
@@ -220,15 +218,6 @@ public class ChatRoomManagerView extends ViewPart implements
textOutput.getTextWidget().setEditable(false);
textOutput.getTextWidget().setLayoutData(
new GridData(GridData.FILL_BOTH));
- textOutput.getTextWidget().addFocusListener(new FocusListener() {
- public void focusGained(FocusEvent e) {
- textInput.setFocus();
- }
-
- public void focusLost(FocusEvent e) {
- }
- });
-
Composite writeComp = new Composite(rightSash, SWT.NONE);
writeComp.setLayout(new FillLayout());
textInput = new Text(writeComp, SWT.BORDER | SWT.MULTI | SWT.WRAP
@@ -433,7 +422,7 @@ public class ChatRoomManagerView extends ViewPart implements
setUsernameAndHost(ChatRoomManagerView.this.chatHostID);
ChatRoomManagerView.this.setPartName(userName + USERNAME_HOST_DELIMETER
+ hostName);
- ChatRoomManagerView.this.setTitleToolTip("IRC Host: " + hostName);
+ ChatRoomManagerView.this.setTitleToolTip("Host: " + hostName);
ChatRoomManagerView.this.rootChatRoomTabItem.setTabName(hostName);
if (container.getConnectedID() == null)
initializeControls(targetID);

Back to the top