Package melnorme.util.swt.jface

Examples of melnorme.util.swt.jface.TreeViewerExt


    Composite editorComposite = createComposite(topControl);
    editorComposite.setLayoutData(
      gdFillDefaults().grab(true, false).create());
    editorComposite.setLayout(GridLayoutFactory.swtDefaults().numColumns(2).margins(0, 0).create());
   
    treeViewer = new TreeViewerExt(editorComposite, SWT.SINGLE | SWT.BORDER);
    treeViewer.setContentProvider(new ElementContentProvider2());
    treeViewer.setLabelProvider(new LabeledTreeElementLabelProvider());
    treeViewer.getTree().setLayoutData(
      gdFillDefaults().hint(pc.convertWidthInCharsToPixels(40), pc.convertHeightInCharsToPixels(10)).create());
    treeViewer.addSelectionChangedListener(new ISelectionChangedListener() {
View Full Code Here

TOP

Related Classes of melnorme.util.swt.jface.TreeViewerExt

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.