mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make toolwindow condition work for all EPs
test fixed
This commit is contained in:
+2
@@ -30,6 +30,8 @@ public class HideAllToolWindowsTest extends ToolWindowManagerTestCase {
|
||||
List<ToolWindowType> cycle = new ArrayList<>(Arrays.asList(ToolWindowType.values()));
|
||||
for (int i = 0; i < extensions.length; i++) {
|
||||
ToolWindowEP extension = extensions[i];
|
||||
if (extension.getCondition() != null && !extension.getCondition().value(getProject()))
|
||||
continue;
|
||||
myManager.initToolWindow(extension);
|
||||
myManager.showToolWindow(extension.id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user