Example usage for org.eclipse.jface.commands PersistentState subclass-usage

List of usage examples for org.eclipse.jface.commands PersistentState subclass-usage

Introduction

In this page you can find the example usage for org.eclipse.jface.commands PersistentState subclass-usage.

Usage

From source file org.eclipse.ui.handlers.RadioState.java

/**
 * This state supports a radio-button like command, where the value of the
 * parameterized command is stored as state. The command must define a state
 * using the {@link #STATE_ID} id and a string commandParameter using the
 * {@link #PARAMETER_ID} id. Menu contributions supplied by
 * <code>org.eclipse.ui.menus</code> can then set the {@link #PARAMETER_ID}.

From source file org.eclipse.ui.internal.commands.CommandStateProxy.java

/**
 * <p>
 * A proxy for handler state that has been defined in XML. This delays the class
 * loading until the state is really asked for information. Asking a proxy for
 * anything (except disposing, and adding and removing listeners) will cause the
 * proxy to instantiate the proxied handler.