Package bndtools.utils

Examples of bndtools.utils.ClassPathLabelProvider


        section.setClient(composite);
        Table table = toolkit.createTable(composite, SWT.FULL_SELECTION | SWT.MULTI | SWT.BORDER);

        viewer = new TableViewer(table);
        viewer.setContentProvider(new ArrayContentProvider());
        viewer.setLabelProvider(new ClassPathLabelProvider());

        // Actions
        viewer.addSelectionChangedListener(new ISelectionChangedListener() {
            public void selectionChanged(SelectionChangedEvent event) {
                removeItem.setEnabled(!viewer.getSelection().isEmpty());
View Full Code Here


        lblHint.setText("Selected files (hint: drag files from an external application into this list):");

        final Table table = new Table(composite, SWT.FULL_SELECTION | SWT.MULTI | SWT.BORDER);
        viewer = new TableViewer(table);
        viewer.setContentProvider(new ArrayContentProvider());
        viewer.setLabelProvider(new ClassPathLabelProvider());

        btnAdd = new Button(composite, SWT.PUSH);
        btnAdd.setText("Add");
        btnAddExternal = new Button(composite, SWT.PUSH);
        btnAddExternal.setText("Add External");
View Full Code Here

TOP

Related Classes of bndtools.utils.ClassPathLabelProvider

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.