Package com.biglybt.ui.swt.subscriptions
Class SBC_SubscriptionResultsView
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
com.biglybt.ui.swt.views.skin.SkinView
com.biglybt.ui.swt.subscriptions.SBC_SubscriptionResultsView
- All Implemented Interfaces:
SubscriptionListener
,UIToolBarActivationListener
,UIToolBarEnablerBase
,UIPluginViewToolBarListener
,TableViewFilterCheck<SubscriptionResultFilterable>
,UIUpdatable
,SWTSkinObjectListener
public class SBC_SubscriptionResultsView
extends SkinView
implements UIUpdatable, UIPluginViewToolBarListener, TableViewFilterCheck<SubscriptionResultFilterable>, SubscriptionListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static LinkedList
<MdiEntrySWT> private static TableViewSWT.ColorRequester
private static boolean
private Subscription
private SubscriptionResultFilter
private long
private final Object
private final Object
private List
<SubscriptionResultFilterable> private MdiEntrySWT
private Runnable
private FrequencyLimitedDispatcher
private org.eclipse.swt.widgets.Composite
static final String
private TableViewSWT
<SubscriptionResultFilterable> Fields inherited from interface com.biglybt.core.subs.SubscriptionListener
CR_METADATA, CR_RESULTS
Fields inherited from interface com.biglybt.ui.swt.skin.SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_OBFUSCATE, EVENT_SELECT, EVENT_SHOW, NAMES
Fields inherited from interface com.biglybt.pif.ui.toolbar.UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
dataSourceChanged
(SWTSkinObject skinObject, Object params) boolean
filterCheck
(SubscriptionResultFilterable ds, String filter, boolean regex, boolean confusable) void
private String
A name for this UIUpdatable so we can track who's being badprivate void
hideView()
private void
initColumns
(Core core) private void
initTable
(org.eclipse.swt.widgets.Composite control) private boolean
private void
reconcileResults
(Subscription subs) protected void
refilter()
void
refreshToolBarItems
(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setprivate void
showView()
skinObjectDestroyed
(SWTSkinObject skinObject, Object params) Skin Object was destroyedskinObjectHidden
(SWTSkinObject skinObject, Object params) Skin Object was hiddenskinObjectInitialShow
(SWTSkinObject skinObject, Object params) skinObjectShown
(SWTSkinObject skinObject, Object params) Skin Object was shownvoid
subscriptionChanged
(Subscription subs, int reason) void
boolean
toolBarItemActivated
(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemvoid
updateUI()
Update your UI!private void
userDelete
(SubscriptionResultFilterable[] results) Methods inherited from class com.biglybt.ui.swt.views.skin.SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated
Methods inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
eventOccured, skinObjectSelected, updateLanguage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.common.table.TableViewFilterCheck
filterCheck, filterSet, setRefilterCache, viewChanged
Methods inherited from interface com.biglybt.pif.ui.UIPluginViewToolBarListener
isActive
-
Field Details
-
TABLE_SR
- See Also:
-
FILTER_KEY
-
columnsAdded
private static boolean columnsAdded -
colour_requester
-
activated_views
-
tv_subs_results
-
col_filter_helper
-
mdi_entry
-
table_parent
private org.eclipse.swt.widgets.Composite table_parent -
filter_lock
-
refilter_dispatcher
-
ds
-
ds_filter
-
pFilterUpdater
-
ds_filter_version
private long ds_filter_version -
last_selected_content
-
-
Constructor Details
-
SBC_SubscriptionResultsView
public SBC_SubscriptionResultsView()
-
-
Method Details
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShow
in classSkinView
- Parameters:
skinObject
-params
-- Returns:
-
addLine
-
getString
-
isOurContent
-
refilter
protected void refilter() -
initColumns
-
dataSourceChanged
- Overrides:
dataSourceChanged
in classSWTSkinObjectAdapter
-
subscriptionChanged
- Specified by:
subscriptionChanged
in interfaceSubscriptionListener
-
reconcileResults
-
subscriptionDownloaded
- Specified by:
subscriptionDownloaded
in interfaceSubscriptionListener
-
showView
private void showView() -
hideView
private void hideView() -
skinObjectShown
Description copied from class:SWTSkinObjectAdapter
Skin Object was shown- Overrides:
skinObjectShown
in classSkinView
-
skinObjectHidden
Description copied from class:SWTSkinObjectAdapter
Skin Object was hidden- Overrides:
skinObjectHidden
in classSkinView
-
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapter
Skin Object was destroyed- Overrides:
skinObjectDestroyed
in classSkinView
-
initTable
private void initTable(org.eclipse.swt.widgets.Composite control) -
userDelete
-
getUpdateUIName
Description copied from interface:UIUpdatable
A name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUIName
in interfaceUIUpdatable
- Returns:
- some name
-
updateUI
public void updateUI()Description copied from interface:UIUpdatable
Update your UI!- Specified by:
updateUI
in interfaceUIUpdatable
-
filterCheck
public boolean filterCheck(SubscriptionResultFilterable ds, String filter, boolean regex, boolean confusable) - Specified by:
filterCheck
in interfaceTableViewFilterCheck<SubscriptionResultFilterable>
-
filterSet
- Specified by:
filterSet
in interfaceTableViewFilterCheck<SubscriptionResultFilterable>
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListener
XXX Should have been UIToolBarItem- Specified by:
toolBarItemActivated
in interfaceUIToolBarActivationListener
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListener
Fill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItems
in interfaceUIPluginViewToolBarListener
- Parameters:
list
-
-
getDownloadURI
-