Package org.locationtech.udig.ui

Examples of org.locationtech.udig.ui.ViewerDropLocation


        Layer target = (Layer) getDestination();
        Collection<Layer> layers = toCollection(getData());

        for( Layer layer : layers ) {

            ViewerDropLocation location = getViewerLocation();

            if (location == ViewerDropLocation.NONE) {
                layer.setZorder(0);
                continue;
            }
View Full Code Here


    private int calculateDropPosition( ) {
        int layerpos=-1;
        if( getDestination() instanceof ILayer ){
            ILayer target=(ILayer) getDestination();
            ViewerDropLocation location = getViewerLocation();
            layerpos = target.getZorder();
           
            if (location == ViewerDropLocation.NONE) {
                layerpos=0;
            }
View Full Code Here

    @Override
    public void perform(IProgressMonitor monitor) {

        for (Object source : sources) {

            final ViewerDropLocation location = getViewerLocation();
            if (ViewerDropLocation.NONE == location) {
                // Do nothing
            } else if (ViewerDropLocation.ON == location) {
                moveIn(source);
            } else {
View Full Code Here

TOP

Related Classes of org.locationtech.udig.ui.ViewerDropLocation

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.