List of all members.
Detailed Description
Preferences provide methods to get and set preferences on an IDE-specific level (i.e. they are shared for all Saros instances of one IDE).
These Preferences are stored using an IPreferenceStore.
Constructor & Destructor Documentation
de.fu_berlin.inf.dpp.preferences.Preferences.Preferences |
( |
IPreferenceStore |
store | ) |
|
Member Function Documentation
boolean de.fu_berlin.inf.dpp.preferences.Preferences.forceIBBTransport |
( |
| ) |
|
Returns whether force In-Band Bytestreams (IBB) transport is enabled or not.
- Returns:
- true if force In-Band Bytestreams (IBB) transport is enabled.
String de.fu_berlin.inf.dpp.preferences.Preferences.getAutoPortmappingGatewayID |
( |
| ) |
|
Returns the device ID of the gateway to perform port mapping on.
- Returns:
- Device ID of the gateway or empty String if disabled.
int de.fu_berlin.inf.dpp.preferences.Preferences.getAutoPortmappingLastPort |
( |
| ) |
|
- Returns:
- the last port of the auto port mapping.
String de.fu_berlin.inf.dpp.preferences.Preferences.getDefaultServer |
( |
| ) |
|
- Returns:
- the default server.
Is never empty or null.
int de.fu_berlin.inf.dpp.preferences.Preferences.getFavoriteColorID |
( |
| ) |
|
Returns the favorite color ID that should be used during a session.
- Returns:
- the favorite color ID or { UserColorID.UNKNOWN} if no favorite color ID is available
int de.fu_berlin.inf.dpp.preferences.Preferences.getFileTransferPort |
( |
| ) |
|
Returns the port for SOCKS5 file transfer. If PreferenceConstants#USE_NEXT_PORTS_FOR_FILE_TRANSFER is set, a negative number is returned (smacks will try next free ports above this number)
- Returns:
- port for smacks configuration (negative if to try out ports above)
String de.fu_berlin.inf.dpp.preferences.Preferences.getSarosXMPPServer |
( |
| ) |
|
- Returns:
- Saros's XMPP server DNS address.
String de.fu_berlin.inf.dpp.preferences.Preferences.getSessionNickname |
( |
| ) |
|
Returns the nickname that should be used in a session.
- Returns:
- the nickname which may be empty if no nickname is available
String de.fu_berlin.inf.dpp.preferences.Preferences.getSkypeUserName |
( |
| ) |
|
Returns the Skype user name or an empty string if none was specified.
- Returns:
- the user name.for Skype or an empty string
List<String> de.fu_berlin.inf.dpp.preferences.Preferences.getSocks5Candidates |
( |
| ) |
|
- Returns:
- the Socks5 candidates for the Socks5 proxy
String de.fu_berlin.inf.dpp.preferences.Preferences.getStunIP |
( |
| ) |
|
int de.fu_berlin.inf.dpp.preferences.Preferences.getStunPort |
( |
| ) |
|
boolean de.fu_berlin.inf.dpp.preferences.Preferences.isAutoConnecting |
( |
| ) |
|
Returns whether auto-connect is enabled or not.
- Returns:
- true if auto-connect is enabled.
boolean de.fu_berlin.inf.dpp.preferences.Preferences.isAutoPortmappingEnabled |
( |
| ) |
|
Returns whether port mapping is enabled or not by evaluating the stored deviceID to be empty or not.
- Returns:
- true if port mapping is enabled, false otherwise
boolean de.fu_berlin.inf.dpp.preferences.Preferences.isConcurrentUndoActivated |
( |
| ) |
|
Returns whether concurrent undo is enabled or not.
- Returns:
- true if concurrent undo is enabled.
boolean de.fu_berlin.inf.dpp.preferences.Preferences.isDebugEnabled |
( |
| ) |
|
Returns whether debug is enabled or not.
- Returns:
- true if debug is enabled.
boolean de.fu_berlin.inf.dpp.preferences.Preferences.isLocalSOCKS5ProxyEnabled |
( |
| ) |
|
Returns whether local SOCKS5 proxy is enabled or not.
- Returns:
- true if local SOCKS5 proxy is enabled.
void de.fu_berlin.inf.dpp.preferences.Preferences.setUseVersionControl |
( |
boolean |
value | ) |
|
Sets the value of useVersionControl
- Parameters:
-
boolean de.fu_berlin.inf.dpp.preferences.Preferences.useExternalGatewayAddress |
( |
| ) |
|
Returns whether the external address of the gateway should be used as a Socks5 candidate or not.
- Returns:
- true if external address of the gateway should be used as a Socks5 candidate, false otherwise
boolean de.fu_berlin.inf.dpp.preferences.Preferences.useVersionControl |
( |
| ) |
|
Returns whether version control is enabled or not.
- Returns:
- true if version control is enabled.
Member Data Documentation