Examples of ViewerDropLocation


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

Examples of org.locationtech.udig.ui.ViewerDropLocation

    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

Examples of org.locationtech.udig.ui.ViewerDropLocation

    @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
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.