|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for actions. Actions implementing this interface not only manage an enable/disable state but also manage a "hypothetical" enable state, depending on whether the target they work on is writable or read-only.
Method Summary | |
boolean |
isEnabled(boolean isWritable)
Returns whether the actions would be enabled if its target would be enabled given the writable state described by isWritable . |
Method Detail |
public boolean isEnabled(boolean isWritable)
isWritable
.
isEnabled()
and isEnabled(boolean)
holds the following
invariants:
isEnabled() == false, iff isEnabled(true) == false || isEnabled(false) == false
isEnabled() == true, iff isEnabled(true) == true || isEnabled(false) == true
isWritable
-
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |