|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.rssowl.util.GlobalSettings
This class holds some settings the user has made in RSSOwl. A lot of Objects in RSSOwl need to access them, thats why they are declared public and static. Also contains some constants that are used in the application.
Field Summary | |
static boolean |
_IS_DEBUG
Developer Flag indicating state of debug mode. |
static boolean |
_IS_PRE_RELEASE
Developer Flag indicating a pre release version. |
static String |
amphetaRatePassword
AmphetaRate Password |
static String |
amphetaRateUserID
AmphetaRate User ID (old) |
static String |
amphetaRateUsername
AmphetaRate Username |
static boolean |
animateNewsPopup
TRUE: Move the Popup in, from right to left FALSE: Just show the Popup |
static String |
ARCHIVE_DIR
Dir to write the archive. |
static boolean |
autoCloseNewsPopup
TRUE: Close news popup automatically after some time FALSE: Do not close news popup automatically |
static boolean |
autoSortNews
TRUE: Sort news based on the sortOrder settings FALSE: Do not sort news, leave it as in the XML document |
static boolean |
blockPopups
TRUE: Block popups from the internal browser FALSE: Do not block popups from the internal browser Note: This setting is ignored on Linux, since Mozilla is taking care of popups for itself. |
static String |
bloggerArguments
Arguments of the blogger |
static String |
bloggerPath
Path to the executable of the blogger |
static String |
CACHE_DIR
Dir to write the cache. |
static String |
charEncoding
Set the character encoding - Default: UTF-8 |
static boolean |
checkUpdate
TRUE: Check for an updated version of RSSOwl on startup FALSE: Do not check for an updated version of RSSOwl on startup |
static boolean |
confirmBlogrollDeletion
TRUE: Show a confirm dialog when deleting a blogroll FALSE: Do not show a confirm dialog when deleting a blogroll |
static boolean |
confirmCategoryDeletion
TRUE: Show a confirm dialog when deleting a category FALSE: Do not show a confirm dialog when deleting a category |
static boolean |
confirmFavoriteDeletion
TRUE: Show a confirm dialog when deleting a favorite FALSE: Do not show a confirm dialog when deleting a favorite |
static int |
connectionTimeout
Connection Timeout for all HttpClient connections in seconds |
static String |
CRYPT_FILE
The path to the file that is used to store sensitive user data |
static String |
customBrowser
Custom Browser executable path |
static String |
customBrowserArguments
Custom Browser arguments |
static String[] |
defaultSortOrder
The default Sort Order for News |
static boolean |
directOpenEachNews
TRUE: Open each selected news in browser FALSE: Do not open each selected news in browser |
static boolean |
directOpenNews
TRUE: Open news directly in the browser if description is empty FALSE: Do not open news directly in the browser if description is empty |
static boolean |
displaySingleTab
TRUE: Display only one tab FALSE: Display multiple tabs |
static int |
favDefaultAutoReloadInterval
Default Auto reload intervall for new favorites |
static boolean |
favDefaultOpenOnStartup
Default boolean value for a new favorite |
static boolean |
favDefaultReloadOnStartup
Default boolean value for a new favorite |
static boolean |
focusNewTabs
TRUE: Focus on new opened tabs FALSE: Do not focus on new opened tabs |
static boolean |
htmlFormatMail
TRUE: Format NewsTip mail with HTML tags FALSE: Do not format NewsTip mail with HTML tags |
static boolean |
isDoubleClickOpen
TRUE: Open category / favorites in Tree with a Double click FALSE: Open category / favorites in Tree with a Single click |
static boolean |
isFavoritesTreeShown
TRUE: Show Favorites Tree FALSE: Do not show Favorites tree |
private static boolean |
isLinux
Flag specifying if OS is Linux |
private static boolean |
isMac
Flag specifying if OS is Mac |
static boolean |
isQuickviewShown
TRUE: Show Quickview window in top of RSSOwl FALSE: Do not show Quickview window |
private static boolean |
isSolaris
Flag specifying if OS is Solaris |
static boolean |
isThreeColumnGUI
TRUE: GUI has three columns to display URL Tree, Newsheader and Newstext FALSE: GUI has two columns, second column is divided into two rows. |
static boolean |
isToolBarShown
TRUE: Show ToolBar window in top of RSSOwl FALSE: Do not show ToolBar window |
static boolean |
isTreeToolBarShown
TRUE: The Tree ToolBar is visible FALSE: The Tree ToolBar is not visible |
static boolean |
isWelcomeShown
TRUE: Display the welcome tab FALSE: Do not display the welcome tab |
private static boolean |
isWindows
Flag specifying if OS is Windows |
static org.eclipse.swt.graphics.RGB |
linkColor
Selected link color |
static boolean |
localCacheFeeds
TRUE: Save loaded feeds to the local cache folder FALSE: Do not save loaded feeds to the local cache folder |
static String |
LOGS_DIR
Dir to write the logs. |
static String |
mailBody
Body of the NewsTip mail |
static String |
mailSubject
String of the NewsTip mail |
static boolean |
markAllReadOnMinimize
TRUE: Mark all news read on window minimization FALSE: Do not mark all news read on window minimization |
static boolean |
markFeedReadOnTabClose
TRUE: Mark news of displayed tab read on tab close FALSE: Do not mark news of displayed tab read on tab close |
static int |
maxConnectionCount
The maximum number of connections at one time |
static boolean |
openBrowserExtern
TRUE: Open the browser external FALSE: Use the internal browser in RSSOwl |
static boolean |
openNewBrowserWindow
TRUE: Open each internal browser in a new tab FALSE: Open each internal browser in the same tab |
static String |
PATH_SEPARATOR
OS dependant File separator |
static boolean |
reopenFeeds
TRUE: Re-Open feeds that were opened on startup FALSE: Do not re-Open feeds that were opened on startup |
static String |
RSSOWL_SETTINGS_FILE
The path to the file that is used to cache settings for RSSOwl. |
static String |
selectedTreeItem
Save the last selected tree item |
static boolean |
setProxyForAllFavorites
TRUE: On Proxy activation, activate it for all favorites FALSE: On Proxy activation, do not activate it for all favorites |
static boolean |
showChannelInfo
TRUE: Display channel info of RSS / RDF feeds FALSE: Do not display channel info of RSS / RDF feeds |
static boolean |
showErrors
TRUE: Show errors in tabs FALSE: Do not show errors in tabs |
static boolean |
showSystrayIcon
TRUE: Place application in tray after minimize FALSE: Do not place application in tray after minimize |
static boolean |
showTabCloseButton
TRUE: Show the close button on each CTabItem FALSE: Do not show a close button on the CTabItems |
static boolean |
showTrayPopup
TRUE: Show the tray popup when unread news are downloaded FALSE: Do not show the tray popup when unread news are downloaded |
static boolean |
simpleTabs
TRUE: Use simple styled tabs FALSE: Use curved styled tabs |
static Vector |
sortOrder
Sort order for the News |
static org.eclipse.swt.graphics.RGB |
syntaxHighlightColor
Selected syntaxhighlight color |
static boolean |
tabPositionIsTop
TRUE: Tabs in TabFolder are displayed on TOP of the Control FALSE: Tabs in TabFolder are displayed on BOTTOM of the Control |
static String |
TEMP_DIR
Dir to write temp files. |
static String |
TEMP_EXPORT_FILE
The path to the file that is used to cache exports as XML file. |
static String |
TEMP_FEED_FILE
The path to the file that is used to cache feeds as XML file. |
static boolean |
trayOnExit
TRUE: Minimize RSSOwl to tray on exit FALSE: Do not minimize RSSOwl to tray on exit |
static boolean |
trayOnStartup
TRUE: Minimize RSSOwl to tray on startup FALSE: Do not minimize RSSOwl to tray on startup |
static boolean |
useBrowserForNewsText
TRUE: Display newstext in internal browser FALSE: Display newstext in Text-Box |
static String |
WORKING_DIR
Dir to write temporary files. |
static boolean |
workOffline
TRUE: RSSOwl is in offline mode FALSE: RSSOwl is not in offline mode |
Constructor Summary | |
private |
GlobalSettings()
This utility class constructor is hidden |
Method Summary | |
static boolean |
isLinux()
Return TRUE if the platform is Linux |
static boolean |
isMac()
Return TRUE if the platform is Mac |
static boolean |
isSolaris()
Return TRUE if the platform is Solaris |
static boolean |
isWindows()
Return TRUE if the platform is Windows |
static boolean |
shouldShowMnemonics()
Check wether mnemonics should be displayed in the current selected language. |
static boolean |
useInternalBrowser()
Get wether the Internal Browser should be used Currently: win32, gtk and mac supported |
static boolean |
useIText()
Get wether iText should be used. |
static boolean |
usePrinting()
Get wether Printing should be used Currently: win32 / carbon / motif supported |
static boolean |
useSystemTray()
Get wether system tray is supported Currently: win32 / gtk supported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean _IS_DEBUG
public static final boolean _IS_PRE_RELEASE
public static String amphetaRatePassword
public static String amphetaRateUserID
public static String amphetaRateUsername
public static boolean animateNewsPopup
public static String ARCHIVE_DIR
public static boolean autoCloseNewsPopup
public static boolean autoSortNews
public static boolean blockPopups
public static String bloggerArguments
public static String bloggerPath
public static String CACHE_DIR
public static String charEncoding
public static boolean checkUpdate
public static boolean confirmBlogrollDeletion
public static boolean confirmCategoryDeletion
public static boolean confirmFavoriteDeletion
public static int connectionTimeout
public static String CRYPT_FILE
public static String customBrowser
public static String customBrowserArguments
public static String[] defaultSortOrder
public static boolean directOpenEachNews
public static boolean directOpenNews
public static boolean displaySingleTab
public static int favDefaultAutoReloadInterval
public static boolean favDefaultOpenOnStartup
public static boolean favDefaultReloadOnStartup
public static boolean focusNewTabs
public static boolean htmlFormatMail
public static boolean isDoubleClickOpen
public static boolean isFavoritesTreeShown
public static boolean isQuickviewShown
public static boolean isThreeColumnGUI
public static boolean isToolBarShown
public static boolean isTreeToolBarShown
public static boolean isWelcomeShown
public static org.eclipse.swt.graphics.RGB linkColor
public static boolean localCacheFeeds
public static String LOGS_DIR
public static String mailBody
public static String mailSubject
public static boolean markAllReadOnMinimize
public static boolean markFeedReadOnTabClose
public static int maxConnectionCount
public static boolean openBrowserExtern
public static boolean openNewBrowserWindow
public static String PATH_SEPARATOR
public static boolean reopenFeeds
public static String RSSOWL_SETTINGS_FILE
public static String selectedTreeItem
public static boolean setProxyForAllFavorites
public static boolean showChannelInfo
public static boolean showErrors
public static boolean showSystrayIcon
public static boolean showTabCloseButton
public static boolean showTrayPopup
public static boolean simpleTabs
public static Vector sortOrder
public static org.eclipse.swt.graphics.RGB syntaxHighlightColor
public static boolean tabPositionIsTop
public static String TEMP_DIR
public static String TEMP_EXPORT_FILE
public static String TEMP_FEED_FILE
public static boolean trayOnExit
public static boolean trayOnStartup
public static boolean useBrowserForNewsText
public static String WORKING_DIR
public static boolean workOffline
private static boolean isLinux
private static boolean isMac
private static boolean isSolaris
private static boolean isWindows
Constructor Detail |
private GlobalSettings()
Method Detail |
public static boolean isLinux()
public static boolean isMac()
public static boolean isSolaris()
public static boolean isWindows()
public static boolean shouldShowMnemonics()
public static boolean useInternalBrowser()
public static boolean useIText()
public static boolean usePrinting()
public static boolean useSystemTray()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |