Class TorrentInfoView
java.lang.Object
com.biglybt.ui.swt.views.TorrentInfoView
- All Implemented Interfaces:
UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UISWTViewEventListener, UISWTViewCoreEventListener, EventListener, org.eclipse.swt.dnd.DragSourceListener
public class TorrentInfoView
extends Object
implements UISWTViewCoreEventListener, UIPluginViewToolBarListener, org.eclipse.swt.dnd.DragSourceListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FakeTableCell[]private DownloadManagerprivate org.eclipse.swt.graphics.Fontstatic final Stringprivate org.eclipse.swt.widgets.Compositeprivate org.eclipse.swt.widgets.Compositeprivate UISWTViewFields inherited from interface UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddataSourceChanged(Object newDataSource) private voiddelete()voiddragFinished(org.eclipse.swt.dnd.DragSourceEvent event) voiddragSetData(org.eclipse.swt.dnd.DragSourceEvent event) voiddragStart(org.eclipse.swt.dnd.DragSourceEvent event) booleaneventOccurred(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Compositeprivate Stringprivate voidinitialize(org.eclipse.swt.widgets.Composite composite) private voidrefresh()voidrefreshToolBarItems(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setbooleantoolBarItemActivated(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UIPluginViewToolBarListener
isActiveMethods inherited from interface UISWTViewEventListener
builderNotRequired, informOfDuplicates
-
Field Details
-
MSGID_PREFIX
- See Also:
-
download_manager
-
outer_panel
private org.eclipse.swt.widgets.Composite outer_panel -
headerFont
private org.eclipse.swt.graphics.Font headerFont -
cells
-
parent
private org.eclipse.swt.widgets.Composite parent -
swtView
-
-
Constructor Details
-
TorrentInfoView
public TorrentInfoView()
-
-
Method Details
-
initialize
private void initialize(org.eclipse.swt.widgets.Composite composite) -
refresh
private void refresh() -
getComposite
private org.eclipse.swt.widgets.Composite getComposite() -
getFullTitle
-
delete
private void delete() -
dataSourceChanged
-
eventOccurred
Description copied from interface:UISWTViewEventListenerTriggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurredin interfaceUISWTViewEventListener- Parameters:
event- event that occurred- Returns:
- meaning dependent upon event type
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListenerXXX Should have been UIToolBarItem- Specified by:
toolBarItemActivatedin interfaceUIToolBarActivationListener
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListenerFill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItemsin interfaceUIPluginViewToolBarListener- Parameters:
list-
-
dragStart
public void dragStart(org.eclipse.swt.dnd.DragSourceEvent event) - Specified by:
dragStartin interfaceorg.eclipse.swt.dnd.DragSourceListener
-
dragSetData
public void dragSetData(org.eclipse.swt.dnd.DragSourceEvent event) - Specified by:
dragSetDatain interfaceorg.eclipse.swt.dnd.DragSourceListener
-
dragFinished
public void dragFinished(org.eclipse.swt.dnd.DragSourceEvent event) - Specified by:
dragFinishedin interfaceorg.eclipse.swt.dnd.DragSourceListener
-