Package bndtools.model.repo

Examples of bndtools.model.repo.RepositoryTreeLabelProvider


        viewer = new TreeViewer(tree);
        viewer.setContentProvider(contentProvider);
        ColumnViewerToolTipSupport.enableFor(viewer);

        viewer.setLabelProvider(new RepositoryTreeLabelProvider(false));
        getViewSite().setSelectionProvider(viewer);

        createActions();

        // LISTENERS
View Full Code Here


        tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));

        viewer = new TreeViewer(tree);
        contentProvider.setShowRepos(false);
        viewer.setContentProvider(contentProvider);
        viewer.setLabelProvider(new RepositoryTreeLabelProvider(true));
        viewer.setFilters(new ViewerFilter[] {
            includedRepoFilter
        });

        txtSearch.addModifyListener(new ModifyListener() {
View Full Code Here

        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) {
                    return (element instanceof RepositoryPlugin) && ((RepositoryPlugin) element).canWrite();
View Full Code Here

        viewer = new TreeViewer(tree);
        viewer.setContentProvider(contentProvider);
        ColumnViewerToolTipSupport.enableFor(viewer);

        viewer.setLabelProvider(new RepositoryTreeLabelProvider(false));
        getViewSite().setSelectionProvider(viewer);

        createActions();

        JpmPreferences jpmPrefs = new JpmPreferences();
View Full Code Here

        selectionSearchTxt = new Text(panel, SWT.BORDER | SWT.SEARCH | SWT.ICON_SEARCH | SWT.ICON_CANCEL);
        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.RepositoryTreeLabelProvider

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.