Package org.locationtech.udig.project.internal.impl

Examples of org.locationtech.udig.project.internal.impl.MapImpl


        selectionPage = new ExportSelectionPage(Messages.ExportSelectionPage_Destination,
                Messages.ExportProjectWizard_Destination2, wizardPageIconDescriptor);
        Object selectionObj = selection.getFirstElement();
        IProject project = null;
        if (selectionObj instanceof MapImpl) {
            MapImpl map = (MapImpl) selectionObj;
            project = map.getProject();
        }
        if (selectionObj instanceof IProject) {
            project = (IProject) selectionObj;
        }
        if (project != null) {
View Full Code Here


     */
    public void run( IAction action ) {
        Object firstElement = selection.getFirstElement();

        if (firstElement instanceof MapImpl) {
            MapImpl map = (MapImpl) firstElement;
            project = (Project) map.getProject();
        }

        if (firstElement instanceof Project) {
            project = (Project) firstElement;
        }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.internal.impl.MapImpl

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.