Package de.mindcrimeilab.xsanalyzer.model

Examples of de.mindcrimeilab.xsanalyzer.model.UnusedTypesListModelAdapter


    /**
     * @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);
            unusedTypeHierarchyCommand.setValueModel(vModel);
            unusedTypeInspectionCommand.setValueModel(vModel);
View Full Code Here

TOP

Related Classes of de.mindcrimeilab.xsanalyzer.model.UnusedTypesListModelAdapter

Copyright © 2018 www.massapicom. 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.