I have been using FilteredListModel for different lists I have on my forms. Now i want to add the glazedlists sorting and text filter to my lists.
Currently i am using ListListModel wrapped in FilterListModel, which is bound to my bean properties. I was wondering how would i do that.
Is it possible to do something like,
I am not if the binding still would work?Code:// RCP ListListModel listModel = (ListListModel)getBindingFactory().createBoundListModel(propertyName); // Glazed BasicEventList eventList = new BasicEventList(listModel.getItems()); // Glazed EventListModel eventListModel = new EventListModel(eventList); // RCP FilteredListModel filteredListModel = new EventListModel(eventListModel, myExistingConstraint);
Amad


Reply With Quote