| java.lang.Object org.eclipse.ui.internal.services.RegistryPersistence org.eclipse.ui.internal.menus.LegacyActionPersistence
LegacyActionPersistence | final public class LegacyActionPersistence extends RegistryPersistence (Code) | |
A static class for reading actions from the registry. Actions were the
mechanism in 3.1 and earlier for contributing to menus and tool bars in the
Eclipse workbench. They have since been replaced with commands.
This class is not intended for use outside of the
org.eclipse.ui.workbench plug-in.
since: 3.2 |
Method Summary | |
final public void | dispose() | final protected boolean | isChangeImportant(IRegistryChangeEvent event) | final public void | read()
Reads all of the actions from the deprecated extension points. |
LegacyActionPersistence | public LegacyActionPersistence(IWorkbenchWindow window)(Code) | | Constructs a new instance of
LegacyActionPersistence .
Parameters: window - The window from which the services should be retrieved; mustnot be null . |
dispose | final public void dispose()(Code) | | |
isChangeImportant | final protected boolean isChangeImportant(IRegistryChangeEvent event)(Code) | | |
read | final public void read()(Code) | |
Reads all of the actions from the deprecated extension points. Actions
have been replaced with commands, command images, handlers, menu elements
and action sets.
TODO Before this method is called, all of the extension points must be
cleared.
|
Fields inherited from org.eclipse.ui.internal.services.RegistryPersistence | final protected static Expression ERROR_EXPRESSION(Code)(Java Doc) protected boolean registryListenerAttached(Code)(Java Doc)
|
Methods inherited from org.eclipse.ui.internal.services.RegistryPersistence | final protected static void addElementToIndexedArray(IConfigurationElement elementToAdd, IConfigurationElement[][] indexedArray, int index, int currentCount)(Code)(Java Doc) final protected static void addWarning(List warningsToLog, String message, IConfigurationElement element)(Code)(Java Doc) final protected static void addWarning(List warningsToLog, String message, IConfigurationElement element, String id)(Code)(Java Doc) final protected static void addWarning(List warningsToLog, String message, IConfigurationElement element, String id, String extraAttributeName, String extraAttributeValue)(Code)(Java Doc) final protected static boolean checkClass(IConfigurationElement configurationElement, List warningsToLog, String message, String id)(Code)(Java Doc) public void dispose()(Code)(Java Doc) abstract protected boolean isChangeImportant(IRegistryChangeEvent event)(Code)(Java Doc) final protected static boolean isPulldown(IConfigurationElement element)(Code)(Java Doc) final protected static void logWarnings(List warningsToLog, String message)(Code)(Java Doc) protected void read()(Code)(Java Doc) final protected static boolean readBoolean(IConfigurationElement configurationElement, String attribute, boolean defaultValue)(Code)(Java Doc) final protected static String readOptional(IConfigurationElement configurationElement, String attribute)(Code)(Java Doc) final protected static ParameterizedCommand readParameterizedCommand(IConfigurationElement configurationElement, ICommandService commandService, List warningsToLog, String message, String id)(Code)(Java Doc) final protected static ParameterizedCommand readParameters(IConfigurationElement configurationElement, List warningsToLog, Command command)(Code)(Java Doc) final protected static String readRequired(IConfigurationElement configurationElement, String attribute, List warningsToLog, String message)(Code)(Java Doc) final protected static String readRequired(IConfigurationElement configurationElement, String attribute, List warningsToLog, String message, String id)(Code)(Java Doc) final protected static Expression readWhenElement(IConfigurationElement parentElement, String whenElementName, String id, List warningsToLog)(Code)(Java Doc)
|
|
|