use of org.apache.cayenne.modeler.event.QueryDisplayEvent in project cayenne by apache.
the class SelectQueryTabbedView method initController.
private void initController() {
mediator.addQueryDisplayListener(new QueryDisplayListener() {
public void currentQueryChanged(QueryDisplayEvent e) {
initFromModel();
}
});
this.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
lastSelectionIndex = getSelectedIndex();
updateTabs();
}
});
}
Aggregations