use of de.catma.ui.module.analyze.queryresultpanel.RefreshQueryResultPanel in project catma by forTEXT.
the class AnalyzeView method handleMarkAsStale.
private void handleMarkAsStale(QueryResultPanel queryResultPanel) {
RefreshQueryResultPanel refreshQueryResultPanel = new RefreshQueryResultPanel(queryResultPanel.getQueryId());
resultsPanel.replaceComponent(queryResultPanel, refreshQueryResultPanel);
refreshQueryResultPanel.addRemoveClickListener(clickEvent -> resultsPanel.removeComponent(refreshQueryResultPanel));
refreshQueryResultPanel.addRefreshClickListener(clickEvent -> handleRefreshQueryResultPanel(refreshQueryResultPanel));
removeQueryResultPanelSetting(queryResultPanel.getQueryResultPanelSetting());
}
Aggregations