Package org.locationtech.udig.project.ui.internal

Examples of org.locationtech.udig.project.ui.internal.MapEditorPart


        project.getElementsInternal().add(map);

        //Point size = //mapEditor.getComposite().getSize();
        Point partSize;
        if( mapEditor instanceof MapEditorPart ){
            MapEditorPart part = (MapEditorPart) mapEditor;
          partSize = part.getComposite().getSize();
        }
        else if( mapEditor instanceof MapEditorWithPalette){
          MapEditorWithPalette part = (MapEditorWithPalette) mapEditor;
          partSize = part.getComposite().getSize();
        }
        else {
          //java.awt.Dimension size = map.getRenderManager().getMapDisplay().getDisplaySize();
          //Point partSize = new Point(size.width,size.height);
          partSize = new Point(500,500);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ui.internal.MapEditorPart

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.