void () { myEventsSchemeEditor.getSelectionModel().removeSelection(); myResultEditor.getSelectionModel().removeSelection(); updateResultRequest("{}"); try { EventGroupRemoteDescriptors groups = EventLogMetadataUtils.parseGroupRemoteDescriptors(myEventsSchemeEditor.getDocument().getText()); EventGroupsFilterRules<EventLogBuild> scheme = EventGroupsFilterRules.create(groups, EventLogBuild.EVENT_LOG_BUILD_PRODUCER); String parsed = parseLogAndFilter(new LogEventMetadataFilter(scheme), myEventLogPanel.getText()); updateResultRequest(parsed.trim()); } catch (EventLogMetadataParseException e) { Messages.showErrorDialog(myProject, e.getMessage(), "Failed Parsing Events Scheme"); } catch (IOException | ParseEventLogMetadataException e) { Messages.showErrorDialog(myProject, e.getMessage(), "Failed Applying Events Scheme to Event Log"); } }