| org.eclipse.ui.internal.services.PreferencePersistence org.eclipse.ui.internal.keys.BindingPersistence
BindingPersistence | final class BindingPersistence extends PreferencePersistence (Code) | |
A static class for accessing the registry and the preference store.
since: 3.1 |
Method Summary | |
final static String | getDefaultSchemeId() Returns the default scheme identifier for the currently running
application. | final protected boolean | isChangeImportant(IRegistryChangeEvent event) | final protected boolean | isChangeImportant(PropertyChangeEvent event) | final protected void | read() Reads all of the binding information from the registry and from the
preference store. | final static void | write(Scheme activeScheme, Binding[] bindings) Writes the given active scheme and bindings to the preference store. |
BindingPersistence | BindingPersistence(BindingManager bindingManager, ICommandService commandService)(Code) | | Constructs a new instance of BindingPersistence .
Parameters: bindingManager - The binding manager which should be populated with the valuesfrom the registry and preference store; must not benull . Parameters: commandService - The command service for the workbench; must not benull . |
getDefaultSchemeId | final static String getDefaultSchemeId()(Code) | | Returns the default scheme identifier for the currently running
application.
The default scheme identifier (String ); nevernull , but may be empty or point to an undefinedscheme. |
isChangeImportant | final protected boolean isChangeImportant(IRegistryChangeEvent event)(Code) | | |
isChangeImportant | final protected boolean isChangeImportant(PropertyChangeEvent event)(Code) | | |
read | final protected void read()(Code) | | Reads all of the binding information from the registry and from the
preference store.
|
write | final static void write(Scheme activeScheme, Binding[] bindings) throws IOException(Code) | | Writes the given active scheme and bindings to the preference store. Only
bindings that are of the Binding.USER type will be
written; the others will be ignored.
Parameters: activeScheme - The scheme which should be persisted; may be null . Parameters: bindings - The bindings which should be persisted; may benull throws: IOException - If something happens while trying to write to the workbenchpreference store. |
Fields inherited from org.eclipse.ui.internal.services.PreferencePersistence | protected boolean preferenceListenerAttached(Code)(Java Doc)
|
Methods inherited from org.eclipse.ui.internal.services.PreferencePersistence | final protected static void addElementToIndexedArray(IMemento elementToAdd, IMemento[][] indexedArray, int index, int currentCount)(Code)(Java Doc) final protected static void addWarning(List warningsToLog, String message)(Code)(Java Doc) final protected static void addWarning(List warningsToLog, String message, String id)(Code)(Java Doc) final protected static void addWarning(List warningsToLog, String message, String id, String extraAttributeName, String extraAttributeValue)(Code)(Java Doc) final public void dispose()(Code)(Java Doc) abstract protected boolean isChangeImportant(PropertyChangeEvent event)(Code)(Java Doc) protected void read()(Code)(Java Doc) final protected static boolean readBoolean(IMemento memento, String attribute, boolean defaultValue)(Code)(Java Doc) final protected static String readOptional(IMemento memento, String attribute)(Code)(Java Doc) final protected static ParameterizedCommand readParameterizedCommand(IMemento memento, ICommandService commandService, List warningsToLog, String message, String id)(Code)(Java Doc) final protected static ParameterizedCommand readParameters(IMemento memento, List warningsToLog, Command command)(Code)(Java Doc) final protected static String readRequired(IMemento memento, String attribute, List warningsToLog, String message)(Code)(Java Doc) final protected static String readRequired(IMemento memento, String attribute, List warningsToLog, String message, String id)(Code)(Java Doc)
|
|
|