use of org.apache.cayenne.modeler.event.DomainDisplayEvent in project cayenne by apache.
the class DomainDisplayEventType method fireLastDisplayEvent.
@Override
public void fireLastDisplayEvent() {
DataChannelDescriptor dataChannel = (DataChannelDescriptor) controller.getProject().getRootNode();
if (!dataChannel.getName().equals(preferences.getDomain())) {
return;
}
DomainDisplayEvent domainDisplayEvent = new DomainDisplayEvent(this, dataChannel);
controller.fireDomainDisplayEvent(domainDisplayEvent);
}
Aggregations