Package org.locationtech.udig.bookmarks.internal

Examples of org.locationtech.udig.bookmarks.internal.BookmarksContentProvider


     * This is a callback that will allow us to create the viewer and initialize it.
     */
    @Override
    public void createPartControl( Composite parent ) {
        bookmarksTree = new TreeViewer(parent);
        bookmarksProvider = new BookmarksContentProvider();
        bookmarksTree.setContentProvider(bookmarksProvider);
        getSite().getWorkbenchWindow().getPartService().addPartListener(bookmarksProvider);
        labelProvider = new BookmarksLabelProvider();
        bookmarksTree.setLabelProvider(labelProvider);
        bookmarksTree.setSorter(new ViewerSorter());
View Full Code Here

TOP

Related Classes of org.locationtech.udig.bookmarks.internal.BookmarksContentProvider

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.