|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.State
org.eclipse.jface.commands.PersistentState
org.eclipse.jface.commands.ToggleState
org.eclipse.jface.commands.RadioState
A piece of boolean state grouped with other boolean states. Of these states,
only one may have a value of Boolean.TRUE at any given point in time.
The values of all other states must be Boolean.FALSE.
If this state is registered using IMenuStateIds.STYLE, then it will
control the presentation of the command if displayed in the menus, tool bars
or status line.
Clients may instantiate or extend this interface.
| Constructor Summary | |
|---|---|
RadioState()
|
|
| Method Summary | |
|---|---|
void |
dispose()
Unregisters this state from the manager, which detaches the listeners. |
void |
setRadioGroupIdentifier(String identifier)
Sets the identifier of the radio group for this piece of state. |
void |
setValue(Object value)
Sets the value for this object. |
| Methods inherited from class org.eclipse.jface.commands.ToggleState |
|---|
load, save |
| Methods inherited from class org.eclipse.jface.commands.PersistentState |
|---|
setShouldPersist, shouldPersist |
| Methods inherited from class org.eclipse.core.commands.State |
|---|
addListener, fireStateChanged, getId, getValue, removeListener, setId |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RadioState()
| Method Detail |
public void dispose()
dispose in class Statepublic final void setRadioGroupIdentifier(String identifier)
identifier - The identifier of the radio group for this state; may be
null if the identifier is being cleared.public void setValue(Object value)
setValue in class ToggleStatevalue - The new value; should be a Boolean.
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.