Search in sources :

Example 1 with QueryResultPanelSetting

use of de.catma.ui.module.analyze.queryresultpanel.QueryResultPanelSetting in project catma by forTEXT.

the class AnalyzeView method getQueryResultPanelSettings.

private List<QueryResultPanelSetting> getQueryResultPanelSettings() {
    List<QueryResultPanelSetting> settings = new ArrayList<QueryResultPanelSetting>();
    for (Iterator<Component> iter = resultsPanel.iterator(); iter.hasNext(); ) {
        Component component = iter.next();
        if (component instanceof QueryResultPanel) {
            QueryResultPanel queryResultPanel = (QueryResultPanel) component;
            settings.add(queryResultPanel.getQueryResultPanelSetting());
        }
    }
    return settings;
}
Also used : RefreshQueryResultPanel(de.catma.ui.module.analyze.queryresultpanel.RefreshQueryResultPanel) QueryResultPanel(de.catma.ui.module.analyze.queryresultpanel.QueryResultPanel) ArrayList(java.util.ArrayList) Component(com.vaadin.ui.Component) QueryResultPanelSetting(de.catma.ui.module.analyze.queryresultpanel.QueryResultPanelSetting)

Aggregations

Component (com.vaadin.ui.Component)1 QueryResultPanel (de.catma.ui.module.analyze.queryresultpanel.QueryResultPanel)1 QueryResultPanelSetting (de.catma.ui.module.analyze.queryresultpanel.QueryResultPanelSetting)1 RefreshQueryResultPanel (de.catma.ui.module.analyze.queryresultpanel.RefreshQueryResultPanel)1 ArrayList (java.util.ArrayList)1