Package org.geomajas.widget.advancedviews.configuration.client

Examples of org.geomajas.widget.advancedviews.configuration.client.ExtraLayerInfo


      return null;
    }
  }

  public static String getSmallLayerIconUrl(Layer<?> layer) {
    ExtraLayerInfo eli = WidgetInfoHelper.getClientWidgetInfo(ExtraLayerInfo.IDENTIFIER, ExtraLayerInfo.class,
        layer);
    if (eli != null) {
      return eli.getSmallLayerIconUrl();
    } else {
      return null;
    }
  }
View Full Code Here


      return null;
    }
  }

  public static Img getLargeLayerIcon(Layer<?> layer) {
    ExtraLayerInfo eli = WidgetInfoHelper.getClientWidgetInfo(ExtraLayerInfo.IDENTIFIER, ExtraLayerInfo.class,
        layer);
    if (eli != null) {
      return new Img(eli.getLargeLayerIconUrl());
    } else {
      if (layer instanceof RasterLayer) {
        return new Img(LAYER_RASTER_ICON_LARGE_URL);
      } else {
        switch (((VectorLayer) layer).getLayerInfo().getLayerType()) {
View Full Code Here

      }
    }
  }

  public static Img getLegendImage(Layer<?> layer) {
    ExtraLayerInfo eli = WidgetInfoHelper.getClientWidgetInfo(ExtraLayerInfo.IDENTIFIER, ExtraLayerInfo.class,
        layer);
    if (eli != null) {
      return new Img(eli.getLegendImageUrl());
    } else {
      return null;
    }
  }
View Full Code Here

TOP

Related Classes of org.geomajas.widget.advancedviews.configuration.client.ExtraLayerInfo

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.