public class FavoritesPlugin extends Object
Modifier and Type | Field and Description |
---|---|
static Localizer |
mLocalizer
The localizer for this class.
|
static java.util.logging.Logger |
mLog |
Modifier and Type | Method and Description |
---|---|
void |
addPendingFavorite(AdvancedFavorite fav)
Adds a AdvancedFavorite to the pending list (for loading filters after TV-Browser start was finished).
|
void |
addProgramsForSending(ProgramReceiveTarget[] targets,
Program[] programs)
Add the programs to send to other Plugins to a Hashtable.
|
void |
askAndDeleteFavorite(Favorite fav) |
void |
editFavorite(Favorite favorite) |
protected ActionMenu |
getButtonAction() |
ProgramReceiveTarget[] |
getClientPluginTargetIds() |
protected ActionMenu |
getContextMenuActions(Program program) |
ProgramReceiveTarget[] |
getDefaultClientPluginsTargets() |
ImageIcon |
getFavoritesIcon(int size) |
Exclusion[] |
getGlobalExclusions()
Gets the global exclusions.
|
ImageIcon |
getIconFromTheme(String category,
String Icon,
int size) |
String |
getId() |
static FavoritesPlugin |
getInstance() |
ThemeIcon |
getMarkIconFromTheme() |
protected int |
getMarkPriority() |
PluginTreeNode |
getRootNode() |
Properties |
getSettings() |
void |
handleTvBrowserIsShuttingDown() |
void |
handleTvBrowserStartFinished() |
boolean |
isAutoSelectingRemider()
Gets if reminder should be automatically selected for new Favorites
|
boolean |
isShowingBlackListEntries() |
boolean |
isShowingPictures() |
protected boolean |
isShowingRepetitions() |
boolean |
isUsingExpertMode() |
protected void |
saveFavorites() |
protected void |
setAutoSelectingReminder(boolean value) |
void |
setClientPluginTargets(ProgramReceiveTarget[] clientPluginTargetArr) |
protected void |
setGlobalExclusions(Exclusion[] exclusions) |
void |
setIsShowingBlackListEntries(boolean value)
Set the value for showing black list entries
in the management dialog.
|
void |
setIsShowingPictures(boolean value) |
void |
setIsUsingExpertMode(boolean value) |
protected void |
setMarkPriority(int priority) |
protected void |
setShowRepetitions(boolean value) |
void |
showCreateFavoriteWizard(Program program) |
void |
showCreateFavoriteWizard(Program program,
String path) |
void |
showExcludeProgramsDialog(Favorite fav,
Program program) |
void |
showInfoDialog() |
void |
store() |
String |
toString() |
void |
updateRootNode(boolean save) |
void |
waitForFinishingUpdateThreads()
Waits for finishing the update threads.
|
public static final java.util.logging.Logger mLog
public static final Localizer mLocalizer
public void waitForFinishingUpdateThreads()
public void handleTvBrowserIsShuttingDown()
public static FavoritesPlugin getInstance()
public void handleTvBrowserStartFinished()
public void store()
public void addProgramsForSending(ProgramReceiveTarget[] targets, Program[] programs)
targets
- The ProgramReceiveTargets to send the programs for.programs
- The Programs to send.public boolean isShowingBlackListEntries()
public void setIsShowingBlackListEntries(boolean value)
value
- If the programs are to show.protected ActionMenu getButtonAction()
protected ActionMenu getContextMenuActions(Program program)
public void editFavorite(Favorite favorite)
public boolean isUsingExpertMode()
public void setIsUsingExpertMode(boolean value)
public boolean isShowingPictures()
public void setIsShowingPictures(boolean value)
public void showCreateFavoriteWizard(Program program)
protected void saveFavorites()
public void askAndDeleteFavorite(Favorite fav)
public ThemeIcon getMarkIconFromTheme()
public PluginTreeNode getRootNode()
public void updateRootNode(boolean save)
public ImageIcon getFavoritesIcon(int size)
public ProgramReceiveTarget[] getClientPluginTargetIds()
public void setClientPluginTargets(ProgramReceiveTarget[] clientPluginTargetArr)
public ProgramReceiveTarget[] getDefaultClientPluginsTargets()
public String getId()
public Properties getSettings()
public void addPendingFavorite(AdvancedFavorite fav)
fav
- The AdvancedFavorite to add.protected boolean isShowingRepetitions()
protected void setShowRepetitions(boolean value)
public boolean isAutoSelectingRemider()
protected void setAutoSelectingReminder(boolean value)
protected int getMarkPriority()
protected void setMarkPriority(int priority)
protected void setGlobalExclusions(Exclusion[] exclusions)
public Exclusion[] getGlobalExclusions()
public void showInfoDialog()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)