|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.Preferences
public class Preferences
This class gives easy access to the core preferences of g-Eclipse.
| Constructor Summary | |
|---|---|
Preferences()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDefaultVoName()
Get the name of the current default VO. |
static boolean |
getJobUpdaterCancelBehaviour()
Gets the behaviour of the global job status updating when user cancels token request of the job status updater. |
static int |
getUpdateJobsPeriod()
Gets the time period (in seconds) |
static boolean |
getUpdateJobsStatus()
Gets the status of the job updates |
static int |
getUpdatersLimit()
Gets the limit of the simultaneously running job status updaters |
static java.net.URLConnection |
getURLConnection(java.net.URL url)
Get an URLConnection that is initialised with the current proxy and
timeout settings. |
static void |
save()
Save these preferences to the preference store. |
static void |
setDefaultVoName(java.lang.String defaultVoName)
Set the name of the current default VO. |
static void |
setJobUpdaterCancelBehaviour(boolean cancel)
|
static void |
setUpdateJobsPeriod(int period)
Sets the time period (in miliseconds) between job updates |
static void |
setUpdateJobsStatus(boolean status)
Sets the status of the job updates |
static void |
setUpdatersLimit(int limit)
Sets the limit of the simultaneously running job status updaters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Preferences()
| Method Detail |
|---|
public static java.net.URLConnection getURLConnection(java.net.URL url)
throws java.io.IOException
URLConnection that is initialised with the current proxy and
timeout settings.
url - The URL from which to create the connection.
java.io.IOException - If an IO-error occurs while this connection is
created.public static void setDefaultVoName(java.lang.String defaultVoName)
defaultVoName - The name of the default VO.public static java.lang.String getDefaultVoName()
public static void setUpdateJobsStatus(boolean status)
status - Status of updates to be setpublic static boolean getUpdateJobsStatus()
public static void setJobUpdaterCancelBehaviour(boolean cancel)
public static boolean getJobUpdaterCancelBehaviour()
true if cancel should turn off global updating. false if cancel shouldn't change the status of the global updating.public static void setUpdateJobsPeriod(int period)
period - Period between job status' updatespublic static int getUpdateJobsPeriod()
public static void setUpdatersLimit(int limit)
limit - Maximum number of the running updaters.public static int getUpdatersLimit()
public static void save()
Activator.getDefault().savePluginPreferences();.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||