org.eclipse.ui.texteditor
public interface IReadOnlyDependent
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled(boolean isWritable)
Returns whether the actions would be enabled if its target would be enabled given the
writable state described by
isWritable. |
boolean isEnabled(boolean isWritable)
isWritable. isEnabled() and
isEnabled(boolean) holds the following invariants: isEnabled() == false, if
isEnabled(true) == false || isEnabled(false) == false isEnabled() == true, if isEnabled(true)
== true || isEnabled(false) == trueisWritable - the writable stateGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.