use of org.apache.cayenne.modeler.event.MultipleObjectsDisplayListener in project cayenne by apache.
the class ProjectController method fireMultipleObjectsDisplayEvent.
public void fireMultipleObjectsDisplayEvent(MultipleObjectsDisplayEvent e) {
clearState();
currentState.paths = e.getNodes();
currentState.parentPath = e.getParentNode();
EventListener[] list = listenerList.getListeners(MultipleObjectsDisplayListener.class);
for (EventListener listener : list) {
MultipleObjectsDisplayListener temp = (MultipleObjectsDisplayListener) listener;
temp.currentObjectsChanged(e, getApplication());
}
}
Aggregations