Examples of FilteredListModel


Examples of org.springframework.richclient.list.FilteredListModel

    /**
     * @param similarTypes
     */
    private void update(final Map<String, XSObjectList> similarTypes) {
        final SimilarTypesListModelAdapter similarTypesListModelAdapter = new SimilarTypesListModelAdapter(similarTypes);
        final FilteredListModel filteredModel = new FilteredListModel(similarTypesListModelAdapter, elementTypeConstraint);
        masterDetailList.setMasterListModel(filteredModel);
        numSimilarTypesSchema.setValue(similarTypesListModelAdapter.getSize());
    }
View Full Code Here

Examples of org.springframework.richclient.list.FilteredListModel

     * @param unusedTypes
     */
    private void updateUnusedTypesView(Set<XSTypeDefinition> unusedTypes) {
        if (null != unusedTypes) {
            final UnusedTypesListModelAdapter unusedTypesListModelAdapter = new UnusedTypesListModelAdapter(unusedTypes);
            final FilteredListModel filteredModel = new FilteredListModel(unusedTypesListModelAdapter, unusedTypesConstraint);
            jlUnusedTypes.setModel(filteredModel);
            numUnusedTypes.setValue(unusedTypesListModelAdapter.getSize());

            final ValueModel selectionModel = new ListSelectionValueModelAdapter(jlUnusedTypes.getSelectionModel());
            final ValueModel vModel = new JListSelectionValueModelAdapter(jlUnusedTypes.getModel(), (ListSelectionValueModelAdapter) selectionModel);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.