Examples of removeListener()


Examples of com.salas.bb.domain.IArticle.removeListener()

            {
                remove(component);

                IArticleDisplay display = ((IArticleDisplay)component);
                IArticle article = display.getArticle();
                article.removeListener(display.getArticleListener());
            }
        }
        updateNoContentPanel();

        // When page changes, we scroll to the top
View Full Code Here

Examples of com.sonyericsson.hudson.plugins.gerrit.trigger.GerritServer.removeListener()

     * Shutdown the listener.
     */
    public void shutdown() {
        GerritServer server = PluginImpl.getInstance().getServer(serverName);
        if (server != null) {
            server.removeListener(this);
        } else {
            logger.error("Could not find server {}", serverName);
        }
    }

View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.config.BrokerConfig.removeListener()

    public static void shutdownMonitor() {
        if (task != null)
            task.cancel();
        active.clear();
  BrokerConfig cfg = Globals.getConfig();
  cfg.removeListener(METRICS_TIME_PROP, cl);
  cfg.removeListener(PERSIST_PROP, cl);
  cfg.removeListener(TTL_PROP, cl);
        cl = null;
    }
View Full Code Here

Examples of com.threerings.presents.dobj.DObject.removeListener()

        // remove the listener too so we do not get a request later on to update the occupants or
        // unmap this table
        if (removed != null) {
            DObject gameObj = _omgr.getObject(table.gameOid);
            if (gameObj != null) {
                gameObj.removeListener(_gameListener);
            }
        }
    }

    /**
 
View Full Code Here

Examples of com.vaadin.data.Container.ItemSetChangeNotifier.removeListener()

                getLogger().finest(
                        "Attaching ItemSetChangeListener to graph datasource");
                ItemSetChangeNotifier isn = (ItemSetChangeNotifier) dataSource;

                // Ensure we not already are listening to the events
                isn.removeListener(dataSourceListener);

                // Add listener
                isn.addListener(dataSourceListener);
            }
            if (dataSource instanceof PropertySetChangeNotifier) {
View Full Code Here

Examples of com.vaadin.data.Container.PropertySetChangeNotifier.removeListener()

                getLogger()
                        .finest("Attaching PropertySetChangeListener to graph datasource");
                PropertySetChangeNotifier pscn = (PropertySetChangeNotifier) dataSource;

                // Ensure we not already are listening to the events
                pscn.removeListener(dataSourceListener);

                // Add listener
                pscn.addListener(dataSourceListener);
            }
            if (dataSource instanceof ValueChangeNotifier) {
View Full Code Here

Examples of com.vaadin.data.Property.ValueChangeNotifier.removeListener()

        Property<?> property = item.getItemProperty(propertyId);
        if (property instanceof ValueChangeNotifier) {
            // avoid multiple notifications for the same property if
            // multiple filters are in use
            ValueChangeNotifier notifier = (ValueChangeNotifier) property;
            notifier.removeListener(this);
            notifier.addListener(this);
        }
    }

    /**
 
View Full Code Here

Examples of com.vaadin.ui.Component.removeListener()

                    Component p = (Component) it.next();
                    if (p.getApplication() == null) {
                        idPaintableMap.remove(paintableIdMap.get(p));
                        it.remove();
                        dirtyPaintables.remove(p);
                        p.removeListener(this);
                    }
                }
                paintables = getDirtyVisibleComponents(window);
            }
            if (paintables != null) {
View Full Code Here

Examples of com.vaadin.ui.Table.removeListener()

            @Override
            public void valueChange(ValueChangeEvent event) {
                if (table.getListeners(HeaderClickEvent.class).isEmpty()) {
                    table.addListener(headerClickListener);
                } else {
                    table.removeListener(headerClickListener);
                }
            }
        });
        headerClickListenerCheckbox.setValue(true);
View Full Code Here

Examples of com.volantis.cache.impl.notification.RemovalListenerList.removeListener()

        // Make sure that they have been added properly.
        list.dispatchRemovedEntryEvent(entryMock);

        // Remove the middle one and make sure that the content are correct.
        list.removeListener(listenerMock2);
        list.dispatchRemovedEntryEvent(entryMock);

        // Remove the last one and make sure that the content are correct.
        list.removeListener(listenerMock3);
        list.dispatchRemovedEntryEvent(entryMock);
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.