Package org.locationtech.udig.project.ui.tool

Examples of org.locationtech.udig.project.ui.tool.IMapEditorSelectionProvider


                                    tool.setContext(toolContext);
                                    tool.setEnabled(isEnabled());

                                    if(tool instanceof ModalTool){
                                      IMapEditorSelectionProvider selectionProvider = getSelectionProvider();
                                      ModalTool modalTool = (ModalTool) tool;
                                      modalTool.setSelectionProvider(selectionProvider);
                                    }

                                } catch (CoreException e) {
View Full Code Here


        }

        @Override
        protected void runCurrentTool( ) {
            super.runCurrentTool();
            IMapEditorSelectionProvider provider = ((ToolProxy)currentTool).getSelectionProvider();
            MapPart editor = ApplicationGISInternal.getActiveEditor();
           
            //if( editor!=null && editor.getSite()!=null && provider!=editor.getSite().getSelectionProvider() )
            if( editor != null ){
                editor.setSelectionProvider(provider);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ui.tool.IMapEditorSelectionProvider

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.