Package org.cfeclipse.cfml.views.snips

Examples of org.cfeclipse.cfml.views.snips.SnipTreeViewLabelProvider


   
    //Create the tree viewer as a child of the composite parent
    treeViewer = new TreeViewer(parent);
    TemplateSnipTreeViewContentProvider contProv = new TemplateSnipTreeViewContentProvider(snippetRootFolder);
    treeViewer.setContentProvider(contProv);
    labelProvider = new SnipTreeViewLabelProvider();
    treeViewer.setLabelProvider(labelProvider);
   
    treeViewer.setUseHashlookup(true);
   
    //layout the tree viewer below the text field
View Full Code Here


    GridData layoutData = new GridData(GridData.FILL_BOTH);
    Tree tree = new Tree(container, SWT.SINGLE);
    tree.setLayoutData(layoutData);
    categoryTree = new TreeViewer(tree);
    categoryTree.setContentProvider(new SnipExCategoriesContentProvider());
    categoryTree.setLabelProvider(new SnipTreeViewLabelProvider());
    categoryTree.setInput("root");
    categoryTree.addSelectionChangedListener(new ISelectionChangedListener(){

      public void selectionChanged(SelectionChangedEvent event) {
        isPageValid();
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.views.snips.SnipTreeViewLabelProvider

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.