Package com.biglybt.ui.swt.views
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
,org.eclipse.swt.internal.SWTEventListener
public class TorrentInfoView
extends Object
implements UISWTViewCoreEventListener, UIPluginViewToolBarListener, org.eclipse.swt.dnd.DragSourceListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FakeTableCell[]
private DownloadManager
private org.eclipse.swt.graphics.Font
static final String
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.widgets.Composite
private UISWTView
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
(Object newDataSource) private void
delete()
void
dragFinished
(org.eclipse.swt.dnd.DragSourceEvent event) void
dragSetData
(org.eclipse.swt.dnd.DragSourceEvent event) void
dragStart
(org.eclipse.swt.dnd.DragSourceEvent event) boolean
eventOccurred
(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Composite
private String
private void
initialize
(org.eclipse.swt.widgets.Composite composite) private void
refresh()
void
refreshToolBarItems
(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setboolean
toolBarItemActivated
(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.ui.UIPluginViewToolBarListener
isActive
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTViewEventListener
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:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-
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
-
dragStart
public void dragStart(org.eclipse.swt.dnd.DragSourceEvent event) - Specified by:
dragStart
in interfaceorg.eclipse.swt.dnd.DragSourceListener
-
dragSetData
public void dragSetData(org.eclipse.swt.dnd.DragSourceEvent event) - Specified by:
dragSetData
in interfaceorg.eclipse.swt.dnd.DragSourceListener
-
dragFinished
public void dragFinished(org.eclipse.swt.dnd.DragSourceEvent event) - Specified by:
dragFinished
in interfaceorg.eclipse.swt.dnd.DragSourceListener
-