Examples of CatalogTreeViewer


Examples of org.locationtech.udig.catalog.ui.CatalogTreeViewer

    }

    @Override
    protected StructuredViewer createViewer( Composite parent ) {
        CatalogTreeViewer catalogTreeViewer = new CatalogTreeViewer(parent, true);
        catalogTreeViewer.setMessageBoard(new StatusLineMessageBoardAdapter(getViewSite().getActionBars().getStatusLineManager()));

        return catalogTreeViewer;
    }
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.CatalogTreeViewer

        PlatformGIS.asyncInDisplayThread(new Runnable() {
            public void run() {
                try {
                    CatalogView view = getCatalogView();
                    if (view != null) {
                        CatalogTreeViewer treeviewer = view.getTreeviewer();
                        treeviewer
                                .setSelection(new StructuredSelection(services.iterator().next()));
                    }
                } catch (Exception e) {
                    CatalogUIPlugin.log(e.getLocalizedMessage(), e);
                }
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.CatalogTreeViewer

     * @param parent
     */
    public void createPartControl( Composite parent ) {
        // create viewer
//        treeviewer = new CatalogTreeViewer(parent, false);
        treeviewer = new CatalogTreeViewer(parent, true);
        treeviewer.setMessageBoard(new StatusLineMessageBoardAdapter(getViewSite().getActionBars().getStatusLineManager()));

        UDIGDragDropUtilities.addDragDropSupport(treeviewer, this);

        getSite().setSelectionProvider(treeviewer);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.