Package com.volantis.mcs.eclipse.builder.editors.common

Examples of com.volantis.mcs.eclipse.builder.editors.common.TargetLabelProvider


        selectedTargets = new TableViewer(parent);
        GridData data = new GridData(GridData.FILL_BOTH);
        data.heightHint = LIST_HEIGHT_HINT;
        data.widthHint = WIDTH_HINT;
        selectedTargets.getControl().setLayoutData(data);
        selectedTargets.setLabelProvider(new TargetLabelProvider());
        selectedTargets.setContentProvider(new ArrayContentProvider());
        selectedTargets.setInput(targets);
        Button removeButton = new Button(parent, SWT.NONE);
        removeButton.setText(REMOVE_LABEL);
        removeButton.addSelectionListener(new SelectionListener() {
View Full Code Here


        categoryList = CheckboxTableViewer.newCheckList(this, SWT.BORDER);
        data = new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL);
        categoryList.getControl().setLayoutData(data);

        categoryList.setLabelProvider(new TargetLabelProvider());
        categoryList.setContentProvider(new ArrayContentProvider());
        categoryList.setInput(categories);

        categoryList.addCheckStateListener(new ICheckStateListener() {
            public void checkStateChanged(CheckStateChangedEvent event) {
View Full Code Here

        deviceTree = new CheckboxTreeViewer(this, SWT.BORDER);
        data = new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL);
        deviceTree.getControl().setLayoutData(data);

        deviceTree.setLabelProvider(new TargetLabelProvider());
        deviceTree.setContentProvider(new DeviceTreeContentProvider());

        setProject(project);

        deviceTree.addCheckStateListener(new ICheckStateListener() {
View Full Code Here

        deviceList.getControl().setLayoutData(data);

        final DeviceFilteringContentProvider contentProvider =
                new DeviceFilteringContentProvider();

        deviceList.setLabelProvider(new TargetLabelProvider());
        deviceList.setContentProvider(contentProvider);

        setProject(project);

        deviceList.addCheckStateListener(new ICheckStateListener() {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.builder.editors.common.TargetLabelProvider

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.