Examples of removeFeatureListener()


Examples of org.geotools.data.FeatureSource.removeFeatureListener()

           
            if (oldInput != null && oldInput instanceof AdaptableFeatureCollection) {
                AdaptableFeatureCollection old = (AdaptableFeatureCollection) oldInput;
                FeatureSource source = (FeatureSource) old.getAdapter(FeatureSource.class);
                if (source != null) {
                    source.removeFeatureListener(listener);
                }
            }
            if (newInput != null && newInput instanceof AdaptableFeatureCollection) {
                AdaptableFeatureCollection input = (AdaptableFeatureCollection) newInput;
                FeatureSource source = (FeatureSource) input.getAdapter(FeatureSource.class);
View Full Code Here

Examples of org.openhab.binding.insteonplm.internal.device.InsteonDevice.removeFeatureListener()

  private void removeFeatureListener(String aItem) {
    synchronized (m_devices) {
      for (Iterator<Entry<InsteonAddress, InsteonDevice>> it = m_devices.entrySet().iterator();
          it.hasNext(); ) {
        InsteonDevice dev = it.next().getValue();
        boolean removedListener = dev.removeFeatureListener(aItem);
        if (removedListener) {
          logger.trace("removed feature listener {} from dev {}", aItem, dev);
        }
        if (!dev.hasAnyListeners()) {
          Poller.s_instance().stopPolling(dev);
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.