diff options
| author | slewis | 2005-02-21 01:58:14 +0000 |
|---|---|---|
| committer | slewis | 2005-02-21 01:58:14 +0000 |
| commit | d40f78609f0e4740178d50776e93587a315e863c (patch) | |
| tree | cec270040ca6677f9c6789d2bb935f2e3296ee10 | |
| parent | a484cb207cbf505eb654af66fef036ec629d8c80 (diff) | |
| download | org.eclipse.ecf-d40f78609f0e4740178d50776e93587a315e863c.tar.gz org.eclipse.ecf-d40f78609f0e4740178d50776e93587a315e863c.tar.xz org.eclipse.ecf-d40f78609f0e4740178d50776e93587a315e863c.zip | |
Bug fixes to ChatWindow class
| -rw-r--r-- | framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java index 49a1c2328..878ec2927 100644 --- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java +++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/ChatWindow.java @@ -222,6 +222,23 @@ public class ChatWindow extends ApplicationWindow implements IMessageViewer { private boolean hasFocus = false; + private int openResult = 0; + + public int open() { + Display.getDefault().syncExec(new Runnable() { + public void run() { + openResult = ChatWindow.super.open(); + } + }); + return openResult; + } + public void create() { + Display.getDefault().syncExec(new Runnable() { + public void run() { + ChatWindow.super.create(); + } + }); + } public boolean hasFocus() { boolean result = false; Display.getDefault().syncExec(new Runnable() { |
