org.eclipse.ecf.ui.views
Class ChatWindow
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.window.ApplicationWindow
org.eclipse.ecf.ui.views.ChatWindow
- All Implemented Interfaces:
- IIMMessageListener, org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider
public class ChatWindow
- extends org.eclipse.jface.window.ApplicationWindow
- implements IIMMessageListener
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
Fields inherited from class org.eclipse.jface.window.ApplicationWindow |
seperator1 |
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Methods inherited from class org.eclipse.jface.window.ApplicationWindow |
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, close, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createMenuManager, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, showTopSeperator, toolBarChildrenExist |
Methods inherited from class org.eclipse.jface.window.Window |
constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, initializeBounds, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
view
protected org.eclipse.ui.part.ViewPart view
localUser
protected IUser localUser
remoteUser
protected IUser remoteUser
disposed
protected boolean disposed
ChatWindow
public ChatWindow(org.eclipse.ui.part.ViewPart view,
String titleBarText,
String initOutputText,
IUser localUser,
IUser remoteUser)
getLocalUser
public IUser getLocalUser()
getRemoteUser
protected IUser getRemoteUser()
setStatus
public void setStatus(String status)
- Overrides:
setStatus
in class org.eclipse.jface.window.ApplicationWindow
getShellName
protected String getShellName()
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
- Overrides:
configureShell
in class org.eclipse.jface.window.ApplicationWindow
getInitialSize
protected org.eclipse.swt.graphics.Point getInitialSize()
- Overrides:
getInitialSize
in class org.eclipse.jface.window.Window
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createContents
in class org.eclipse.jface.window.Window
setLocalUser
public void setLocalUser(IUser localUser)
setRemoteUser
public void setRemoteUser(IUser remoteUser)
getTextChatComposite
protected TextChatComposite getTextChatComposite()
open
public int open()
- Overrides:
open
in class org.eclipse.jface.window.Window
create
public void create()
- Overrides:
create
in class org.eclipse.jface.window.Window
hasFocus
public boolean hasFocus()
flash
public void flash()
setDisposed
public void setDisposed(String message)
openAndFlash
public void openAndFlash()
handleShellCloseEvent
protected void handleShellCloseEvent()
- Overrides:
handleShellCloseEvent
in class org.eclipse.jface.window.Window
handleMessageEvent
public void handleMessageEvent(IIMMessageEvent messageEvent)
- Description copied from interface:
IIMMessageListener
- Handle message event (reception of chat, typing, or object message).
- Specified by:
handleMessageEvent
in interface IIMMessageListener
- Parameters:
messageEvent
- the event instance to handle. Will not be null
.