public interface WriteActionAware
| Modifier and Type | Method and Description |
|---|---|
default boolean |
startInWriteAction()
Indicate whether this action should be invoked inside write action.
|
default boolean startInWriteAction()
false if e.g. modal dialog is shown inside the action.
If false is returned the action itself is responsible for starting write action
when needed, by calling Application.runWriteAction(Runnable).true if the action requires a write action (default), false otherwise.