void (Consumer<? super DesignerEditorPanelFacade> action) { for (FileEditor editor : FileEditorManager.getInstance(myProject).getAllEditors()) { DesignerEditorPanelFacade designer = getDesigner(editor); if (designer != null) { action.accept(designer); } } }