Search in sources :

Example 6 with TableUserFilterManager

use of org.eclipse.scout.rt.client.ui.basic.table.userfilter.TableUserFilterManager in project scout.rt by eclipse.

the class LargeMemoryPolicy method loadUserFilterState.

@Override
protected void loadUserFilterState(ITable table, String pageTableIdentifier) {
    TableUserFilterManager filterManager = table.getUserFilterManager();
    if (filterManager == null) {
        return;
    }
    byte[] state = m_tableUserFilterState.get(pageTableIdentifier);
    if (state != null) {
        filterManager.setSerializedData(state);
    }
}
Also used : TableUserFilterManager(org.eclipse.scout.rt.client.ui.basic.table.userfilter.TableUserFilterManager)

Aggregations

TableUserFilterManager (org.eclipse.scout.rt.client.ui.basic.table.userfilter.TableUserFilterManager)6 ArrayList (java.util.ArrayList)1 HashSet (java.util.HashSet)1 ITable (org.eclipse.scout.rt.client.ui.basic.table.ITable)1 ITableRow (org.eclipse.scout.rt.client.ui.basic.table.ITableRow)1 ITableCustomizer (org.eclipse.scout.rt.client.ui.basic.table.customizer.ITableCustomizer)1 ColumnUserFilterState (org.eclipse.scout.rt.client.ui.basic.table.userfilter.ColumnUserFilterState)1 ITreeNode (org.eclipse.scout.rt.client.ui.basic.tree.ITreeNode)1 IUserFilterState (org.eclipse.scout.rt.client.ui.basic.userfilter.IUserFilterState)1 ISearchForm (org.eclipse.scout.rt.client.ui.desktop.outline.pages.ISearchForm)1 IStatus (org.eclipse.scout.rt.platform.status.IStatus)1 Status (org.eclipse.scout.rt.platform.status.Status)1 CompositeObject (org.eclipse.scout.rt.platform.util.CompositeObject)1