@Test public void isLayerSupported() throws Exception { Layer layer = TestDataUtils.getPolygonLayer(); assertTrue(helper.isSupportedLayer(layer)); assertFalse(helper.isSupportedLayer(new MockLayer())); }
@Override public boolean isSupportedLayer(Layer layer) { return layer instanceof FeatureLayer; }
FeatureLayerHelper extends InfoToolHelper { @Override public boolean isSupportedLayer(Layer layer) { return layer instanceof FeatureLayer; } }
FeatureLayerHelper extends InfoToolHelper { @Override public boolean isSupportedLayer(Layer layer) { return layer instanceof FeatureLayer; } FeatureLayerHelper(); }
FeatureLayerHelper extends InfoToolHelper { @Override public boolean isSupportedLayer(Layer layer) { return layer instanceof FeatureLayer; } FeatureLayerHelper(); @Override void setLayer(Layer layer); @Override boolean isSupportedLayer(Layer layer); @Override InfoToolResult getInfo(DirectPosition2D pos); }
FeatureLayerHelper extends InfoToolHelper { @Override public boolean isSupportedLayer(Layer layer) { return layer instanceof FeatureLayer; } FeatureLayerHelper(); @Override void setLayer(Layer layer); @Override boolean isSupportedLayer(Layer layer); @Override InfoToolResult getInfo(DirectPosition2D pos); static final double DEFAULT_DISTANCE_FRACTION; }