Package com.biglybt.ui.swt.utils
Class TorrentUIUtilsV3
java.lang.Object
com.biglybt.ui.swt.utils.TorrentUIUtilsV3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static List<MessageBoxShell>
private static final Pattern
(package private) static ImageLoader
private static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
_loadTorrent
(Core core, DownloadUrlInfo dlInfo, boolean playNow, boolean playPrepare, boolean bringToFront) static void
addTorrentToGM
(TOTorrent torrent) No clue if we have a easy way to add a TOTorrent to the GM, so here it isstatic void
static org.eclipse.swt.graphics.Image[]
getContentImage
(Object datasource, boolean big, TorrentUIUtilsV3.ContentImageLoadedListener l) Retrieves the thumbnail for the content, pulling it from the web if it canprivate static void
handleDMAdded
(DownloadManager dm, boolean playNow, boolean playPrepare, HashWrapper fhw) static void
loadTorrent
(DownloadUrlInfo dlInfo, boolean playNow, boolean playPrepare, boolean bringToFront) static void
releaseContentImage
(Object datasource) static void
showTorrentAlreadyAdded
(String originating_loc, String name)
-
Field Details
-
MSG_ALREADY_EXISTS
- See Also:
-
MSG_ALREADY_EXISTS_NAME
- See Also:
-
hashPattern
-
imageLoaderThumb
-
active_aa_dialogs
-
-
Constructor Details
-
TorrentUIUtilsV3
public TorrentUIUtilsV3()
-
-
Method Details
-
disposeStatic
public static void disposeStatic() -
loadTorrent
public static void loadTorrent(DownloadUrlInfo dlInfo, boolean playNow, boolean playPrepare, boolean bringToFront) -
_loadTorrent
private static void _loadTorrent(Core core, DownloadUrlInfo dlInfo, boolean playNow, boolean playPrepare, boolean bringToFront) -
handleDMAdded
private static void handleDMAdded(DownloadManager dm, boolean playNow, boolean playPrepare, HashWrapper fhw) -
addTorrentToGM
No clue if we have a easy way to add a TOTorrent to the GM, so here it is- Parameters:
torrent
-- Since:
- 3.0.5.3
-
getContentImage
public static org.eclipse.swt.graphics.Image[] getContentImage(Object datasource, boolean big, TorrentUIUtilsV3.ContentImageLoadedListener l) Retrieves the thumbnail for the content, pulling it from the web if it can- Parameters:
datasource
-l
- When the thumbnail is available, this listener is triggered- Returns:
- If the image is immediately available, the image will be returned as well as the trigger being fired. If the image isn't available null will be returned and the listener will trigger when avail
- Since:
- 4.0.0.5
-
releaseContentImage
-
showTorrentAlreadyAdded
-