mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
21 lines
873 B
HTML
21 lines
873 B
HTML
<html>
|
|
<body>
|
|
Reports actions, action groups and other <code>ActionUpdateThreadAware</code> classes
|
|
that do not explicitly state their mode.
|
|
|
|
<p>
|
|
When an action or an action group defines its own <code>update()</code> method, IntelliJ Platform tries to mimic
|
|
the old synchronous way of calling <code>update()</code> and <code>getChildren()</code> methods in the UI thread and
|
|
supply it with all the data in <code>AnActionEvent.dataContext()</code>.
|
|
To do that, it caches all the possible data on a background thread beforehand, even if it is not needed.
|
|
</p>
|
|
<p>
|
|
Provide one of the two modes <code>ActionUpdateThread.EDT</code> or <code>ActionUpdateThread.BGT</code>
|
|
by overriding the <code>getActionUpdateThread()</code> method.
|
|
</p>
|
|
<p>
|
|
See the documentation of <code>ActionUpdateThread</code> for more information.
|
|
</p>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |