com.aelitis.azureus.plugins.net.buddy.swt
Class SBC_ChatOverview
java.lang.Object
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
com.aelitis.azureus.ui.swt.views.skin.SkinView
com.aelitis.azureus.plugins.net.buddy.swt.SBC_ChatOverview
- All Implemented Interfaces:
- BuddyPluginBeta.ChatManagerListener, TableSelectionListener, TableViewFilterCheck<BuddyPluginBeta.ChatInstance>, UIUpdatable, SWTSkinObjectListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, TableViewSWTMenuFillListener
public class SBC_ChatOverview
- extends SkinView
- implements UIUpdatable, UIPluginViewToolBarListener, TableViewFilterCheck<BuddyPluginBeta.ChatInstance>, BuddyPluginBeta.ChatManagerListener, TableViewSWTMenuFillListener, TableSelectionListener
- Author:
- TuxPaper
Method Summary |
void |
addThisColumnSubMenu(java.lang.String sColumnName,
org.eclipse.swt.widgets.Menu menuThisColumn)
Create a SubMenu for column specific tasks. |
void |
chatAdded(BuddyPluginBeta.ChatInstance chat)
|
void |
chatChanged(BuddyPluginBeta.ChatInstance chat)
|
void |
chatRemoved(BuddyPluginBeta.ChatInstance chat)
|
void |
defaultSelected(TableRowCore[] rows,
int stateMask)
|
void |
deselected(TableRowCore[] rows)
|
void |
fillMenu(java.lang.String sColumnName,
org.eclipse.swt.widgets.Menu menu)
|
boolean |
filterCheck(BuddyPluginBeta.ChatInstance ds,
java.lang.String filter,
boolean regex)
|
void |
filterSet(java.lang.String filter)
|
void |
focusChanged(TableRowCore focus)
|
java.lang.String |
getUpdateUIName()
A name for this UIUpdatable so we can track who's being bad |
protected void |
initColumns()
|
void |
mouseEnter(TableRowCore row)
|
void |
mouseExit(TableRowCore row)
|
static void |
openChat(java.lang.String network,
java.lang.String key)
|
static void |
preInitialize()
|
void |
refreshToolBarItems(java.util.Map<java.lang.String,java.lang.Long> list)
Fill in list with the toolbar ids and states you wish to set |
void |
selected(TableRowCore[] row)
|
java.lang.Object |
skinObjectDestroyed(SWTSkinObject skinObject,
java.lang.Object params)
Skin Object was destroyed |
java.lang.Object |
skinObjectHidden(SWTSkinObject skinObject,
java.lang.Object params)
Skin Object was hidden |
java.lang.Object |
skinObjectInitialShow(SWTSkinObject skinObject,
java.lang.Object params)
|
java.lang.Object |
skinObjectShown(SWTSkinObject skinObject,
java.lang.Object params)
Skin Object was shown |
boolean |
toolBarItemActivated(ToolBarItem item,
long activationType,
java.lang.Object datasource)
XXX Should have been UIToolBarItem |
void |
updateUI()
Update your UI! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLOR_MESSAGE_WITH_NICK
public static final int[] COLOR_MESSAGE_WITH_NICK
MDI_KEY
protected static final java.lang.Object MDI_KEY
SBC_ChatOverview
public SBC_ChatOverview()
preInitialize
public static void preInitialize()
openChat
public static void openChat(java.lang.String network,
java.lang.String key)
toolBarItemActivated
public boolean toolBarItemActivated(ToolBarItem item,
long activationType,
java.lang.Object datasource)
- Description copied from interface:
UIToolBarActivationListener
- XXX Should have been UIToolBarItem
- Specified by:
toolBarItemActivated
in interface UIToolBarActivationListener
filterSet
public void filterSet(java.lang.String filter)
- Specified by:
filterSet
in interface TableViewFilterCheck<BuddyPluginBeta.ChatInstance>
refreshToolBarItems
public void refreshToolBarItems(java.util.Map<java.lang.String,java.lang.Long> list)
- Description copied from interface:
UIPluginViewToolBarListener
- Fill in list with the toolbar ids and states you wish to set
- Specified by:
refreshToolBarItems
in interface UIPluginViewToolBarListener
updateUI
public void updateUI()
- Description copied from interface:
UIUpdatable
- Update your UI!
- Specified by:
updateUI
in interface UIUpdatable
getUpdateUIName
public java.lang.String getUpdateUIName()
- Description copied from interface:
UIUpdatable
- A name for this UIUpdatable so we can track who's being bad
- Specified by:
getUpdateUIName
in interface UIUpdatable
- Returns:
- some name
skinObjectInitialShow
public java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject,
java.lang.Object params)
- Specified by:
skinObjectInitialShow
in class SkinView
- Returns:
initColumns
protected void initColumns()
skinObjectHidden
public java.lang.Object skinObjectHidden(SWTSkinObject skinObject,
java.lang.Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was hidden
- Overrides:
skinObjectHidden
in class SkinView
skinObjectShown
public java.lang.Object skinObjectShown(SWTSkinObject skinObject,
java.lang.Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was shown
- Overrides:
skinObjectShown
in class SkinView
skinObjectDestroyed
public java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject,
java.lang.Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was destroyed
- Overrides:
skinObjectDestroyed
in class SkinView
fillMenu
public void fillMenu(java.lang.String sColumnName,
org.eclipse.swt.widgets.Menu menu)
- Specified by:
fillMenu
in interface TableViewSWTMenuFillListener
addThisColumnSubMenu
public void addThisColumnSubMenu(java.lang.String sColumnName,
org.eclipse.swt.widgets.Menu menuThisColumn)
- Description copied from interface:
TableViewSWTMenuFillListener
- Create a SubMenu for column specific tasks. Everytime the user opens
the context menu, the "This Column" submenu is cleared, and this function
is called to refill it.
- Specified by:
addThisColumnSubMenu
in interface TableViewSWTMenuFillListener
- Parameters:
sColumnName
- The name of the column the user clicked onmenuThisColumn
- the menu to fill with MenuItems
selected
public void selected(TableRowCore[] row)
- Specified by:
selected
in interface TableSelectionListener
deselected
public void deselected(TableRowCore[] rows)
- Specified by:
deselected
in interface TableSelectionListener
focusChanged
public void focusChanged(TableRowCore focus)
- Specified by:
focusChanged
in interface TableSelectionListener
defaultSelected
public void defaultSelected(TableRowCore[] rows,
int stateMask)
- Specified by:
defaultSelected
in interface TableSelectionListener
chatAdded
public void chatAdded(BuddyPluginBeta.ChatInstance chat)
- Specified by:
chatAdded
in interface BuddyPluginBeta.ChatManagerListener
chatChanged
public void chatChanged(BuddyPluginBeta.ChatInstance chat)
chatRemoved
public void chatRemoved(BuddyPluginBeta.ChatInstance chat)
- Specified by:
chatRemoved
in interface BuddyPluginBeta.ChatManagerListener
mouseEnter
public void mouseEnter(TableRowCore row)
- Specified by:
mouseEnter
in interface TableSelectionListener
mouseExit
public void mouseExit(TableRowCore row)
- Specified by:
mouseExit
in interface TableSelectionListener
filterCheck
public boolean filterCheck(BuddyPluginBeta.ChatInstance ds,
java.lang.String filter,
boolean regex)
- Specified by:
filterCheck
in interface TableViewFilterCheck<BuddyPluginBeta.ChatInstance>