Package bndtools.model.repo

Examples of bndtools.model.repo.RepositoryTreeContentProvider


        setMessage("Bundle will be imported into the selected repository.");

        Table table = new Table(parent, SWT.BORDER | SWT.SINGLE | SWT.FULL_SELECTION);

        final TableViewer viewer = new TableViewer(table);
        viewer.setContentProvider(new RepositoryTreeContentProvider());
        viewer.setLabelProvider(new RepositoryTreeLabelProvider(false));
        viewer.setFilters(new ViewerFilter[] {
            new ViewerFilter() {
                @Override
                public boolean select(Viewer viewer, Object parentElement, Object element) {
View Full Code Here


        selectionSearchTxt.setMessage("filter bundle name");

        final Tree availableTree = new Tree(panel, SWT.FULL_SELECTION | SWT.MULTI | SWT.BORDER);
        availableViewer = new TreeViewer(availableTree);
        availableViewer.setLabelProvider(new RepositoryTreeLabelProvider(false));
        availableViewer.setContentProvider(new RepositoryTreeContentProvider());
        availableViewer.setAutoExpandLevel(2);

        availableViewer.setFilters(new ViewerFilter[] {
            alreadySelectedFilter
        });
View Full Code Here

TOP

Related Classes of bndtools.model.repo.RepositoryTreeContentProvider

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.