Interface GeneiousPreferences
-
@Deprecated public interface GeneiousPreferences
Deprecated.UsePluginPreferences
andGeneiousPlugin.getPluginPreferences()
insteadA set of preference types (eg. comboboxes, textfields..) which can be displayed to the user in an option dialog or the preferences window. GeneiousPreferences may be supplied by a plugin viaGeneiousPlugin.getPreferences()
or on a per service basis viaGeneiousService.getPreferences()
Use of this class it deprectaed. You should useGeneiousPlugin.getPluginPreferences()
instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GeneiousPreferences.GeneiousCheckBoxPreference
Deprecated.A preference for specifying a yes/no (on/off) choice.static class
GeneiousPreferences.GeneiousComboBoxPreference
Deprecated.A preference for specifying one of a set of values.static class
GeneiousPreferences.GeneiousDependentPreference
Deprecated.A preference which itself contains a list ofGeneiousPreferences.GeneiousPreference
.static class
GeneiousPreferences.GeneiousPreference
Deprecated.Super class for allGeneiousPreferences.GeneiousPreference
types.static class
GeneiousPreferences.GeneiousRadioButtonPreference
Deprecated.A preference for specifying one of a small set of possible values.static class
GeneiousPreferences.GeneiousStringPreference
Deprecated.A preference for specifying a string.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description GeneiousPreferences.GeneiousPreference[]
getPreferences()
Deprecated.GetGeneiousPreferences.GeneiousPreference
s which will be displayed to the user.java.lang.String
setValue(java.lang.String code, boolean value)
Deprecated.Called for eachGeneiousPreferences.GeneiousCheckBoxPreference
in these preferences when the user confirms by clicking OK and each time the program is started up (before initialisation).java.lang.String
setValue(java.lang.String code, java.lang.String value)
Deprecated.Called for eachGeneiousPreferences.GeneiousPreference
, excludingGeneiousPreferences.GeneiousCheckBoxPreference
, in these preferences when the user confirms by clicking OK and each time the program is started up (before initialisation).
-
-
-
Method Detail
-
getPreferences
GeneiousPreferences.GeneiousPreference[] getPreferences()
Deprecated.GetGeneiousPreferences.GeneiousPreference
s which will be displayed to the user.- Returns:
- an array of
GeneiousPreferences.GeneiousPreference
s to display. cannot be null
-
setValue
java.lang.String setValue(java.lang.String code, java.lang.String value)
Deprecated.Called for eachGeneiousPreferences.GeneiousPreference
, excludingGeneiousPreferences.GeneiousCheckBoxPreference
, in these preferences when the user confirms by clicking OK and each time the program is started up (before initialisation). It is not necessary to save these persistantly, this is handled by the program.- Parameters:
code
- of the preference to set the value forvalue
- to set the preference to- Returns:
- null if the value was set successfully, or an error message if unsuccessful
-
setValue
java.lang.String setValue(java.lang.String code, boolean value)
Deprecated.Called for eachGeneiousPreferences.GeneiousCheckBoxPreference
in these preferences when the user confirms by clicking OK and each time the program is started up (before initialisation). It is not necessary to save these persistantly, this is handled by the program.- Parameters:
code
- of the preference to set the value forvalue
- to set the preference to- Returns:
- null if the value was set successfully, or an error message if unsuccessful
-
-