Package com.subgraph.vega.ui.util.modules

Examples of com.subgraph.vega.ui.util.modules.ModuleRegistryContentProvider


    Label label = new Label(tabItemArea,SWT.NONE);
    label.setText("Select Modules");
   
    viewer = new CheckboxTreeViewer(tabItemArea,SWT.BORDER | SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    final ModuleRegistryCheckStateProvider checkStateProvider = new ModuleRegistryCheckStateProvider(viewer);
    viewer.setContentProvider(new ModuleRegistryContentProvider(checkStateProvider));
    viewer.setLabelProvider(new ModuleRegistryLabelProvider());
    viewer.setCheckStateProvider(checkStateProvider);
   
    viewer.getTree().setLayoutData(new GridData(GridData.FILL_BOTH));
View Full Code Here


    final Label label = new Label(parent, SWT.NONE);
    label.setText("Select modules to run:");
   
    viewer = new CheckboxTreeViewer(parent, SWT.BORDER| SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    final ModuleRegistryCheckStateProvider checkStateProvider = new ModuleRegistryCheckStateProvider(viewer);
    viewer.setContentProvider(new ModuleRegistryContentProvider(checkStateProvider));
    viewer.setLabelProvider(new ModuleRegistryLabelProvider());
    viewer.setCheckStateProvider(checkStateProvider);   
    viewer.getTree().setLayoutData(new GridData(GridData.FILL_BOTH));
      viewer.setInput(modules.toArray(new IScannerModule[0]));
        viewer.addCheckStateListener(checkStateProvider);
View Full Code Here

    composite.setLayout(layout);
    composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
   
    viewer = new CheckboxTreeViewer(composite, SWT.BORDER | SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    final ModuleRegistryCheckStateProvider checkStateProvider = new ModuleRegistryCheckStateProvider(viewer);
    viewer.setContentProvider(new ModuleRegistryContentProvider(checkStateProvider));
    viewer.setLabelProvider(new ConfigureProxyModulesLabelProvider());
    viewer.setCheckStateProvider(checkStateProvider);
   
    viewer.setInput(modules.toArray(new IScannerModule[0]));
View Full Code Here

TOP

Related Classes of com.subgraph.vega.ui.util.modules.ModuleRegistryContentProvider

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.