Package org.locationtech.udig.project.render

Examples of org.locationtech.udig.project.render.ICompositeRenderContext


           
            if( context==reference )
                return false;
           
            if( context instanceof ICompositeRenderContext){
                ICompositeRenderContext comp = (ICompositeRenderContext)context;
                List<IRenderContext> children = comp.getContexts();
                for( IRenderContext context2 : children ) {
                    if( context2==null )
                        return false;

                    if( context2 instanceof ICompositeRenderContext){
View Full Code Here


        // check the order of children also.  If they are not the same the return -1.
        // this is done so that TreeMap and TreeSet will not think 2 contexts are the same if they
        // have the same layer.  identity also takes the child contexts into account.
        if( result == 0 ){
            if (o instanceof ICompositeRenderContext) {
                ICompositeRenderContext comp = (ICompositeRenderContext) o;
                if( contextsEqual(comp) )
                    return 0;
                else
                    return -1;
            }else{
View Full Code Here

    }

    private List<ILayer> getLayers() {
        List<ILayer> layers = new ArrayList<ILayer>();

        ICompositeRenderContext context1 = getContext();
        IRenderContext[] contexts = context1.getContexts().toArray(
                new IRenderContext[context1.getContexts().size()]);

        if (contexts.length == 0)
            throw new RuntimeException(Messages.BasicWMSRenderer2_no_layers_to_render);

        for( IRenderContext renderContext : contexts ) {
View Full Code Here

        }
       
       
        double opacity = Double.NaN;
       
        ICompositeRenderContext context1= (ICompositeRenderContext) context;
       
       
        IRenderContext[] contexts=context1.getContexts().toArray(new IRenderContext[context1.getContexts().size()]);
        Arrays.sort(contexts);
        List<Layer> owsLayers=new ArrayList<Layer>();
        IService currentService;
        try {
            owsLayers.add(layer.getResource(Layer.class, new NullProgressMonitor()));
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.render.ICompositeRenderContext

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.