Search in sources :

Example 1 with RefreshQueryResultPanel

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());
}
Also used : RefreshQueryResultPanel(de.catma.ui.module.analyze.queryresultpanel.RefreshQueryResultPanel)

Aggregations

RefreshQueryResultPanel (de.catma.ui.module.analyze.queryresultpanel.RefreshQueryResultPanel)1