Search in sources :

Example 1 with SelectionListener

use of org.opennms.features.topology.api.SelectionListener in project opennms by OpenNMS.

the class DefaultSelectionManager method selectionChanged.

@Override
public void selectionChanged(SelectionContext selectionContext) {
    for (SelectionListener listener : m_listeners) {
        LoggerFactory.getLogger(this.getClass()).debug("Invoking selectionChanged() on: {}, {}", listener.getClass().getName(), listener);
        listener.selectionChanged(selectionContext);
    }
    for (SelectionListener listener : m_addedListeners) {
        LoggerFactory.getLogger(this.getClass()).debug("Invoking selectionChanged() on: {}, {}", listener.getClass().getName(), listener);
        listener.selectionChanged(selectionContext);
    }
}
Also used : SelectionListener(org.opennms.features.topology.api.SelectionListener)

Aggregations

SelectionListener (org.opennms.features.topology.api.SelectionListener)1