Package de.mindcrimeilab.xsanalyzer.model

Examples of de.mindcrimeilab.xsanalyzer.model.UsedTypesTreeModelAdapter


    /**
     * @param usedTypes
     */
    private void updateUsedTypesView(Map<XSObject, ? extends XSObjectList> usedTypes) {
        if (null != usedTypes) {
            final UsedTypesTreeModelAdapter usedTypesTreeModelAdapter = new UsedTypesTreeModelAdapter(usedTypes);
            final FilteredTreeModel filteredModel = new FilteredTreeModel(usedTypesTreeModelAdapter, usedTypesConstraint);
            jtUsedTypes.setModel(filteredModel);
            // jtUsedTypes.setModel(usedTypesTreeModelAdapter);
            numUsedTypes.setValue(usedTypesTreeModelAdapter.getChildCount(usedTypesTreeModelAdapter.getRoot()));

            final ValueModel selectionHolder = new TreeSelectionValueModelAdapter(jtUsedTypes.getSelectionModel());
            final ValueModel vModel = new JTreeValueModelAdapter((TreeSelectionValueModelAdapter) selectionHolder);

            usedTypeHierarchyCommand.setValueModel(vModel);
View Full Code Here

TOP

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

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.