public void createDomain(DataDomain domain) {
ApplicationProject project = (ApplicationProject) getCurrentProject();
ProjectController mediator = getProjectController();
project.getConfiguration().addDomain(domain);
mediator.fireDomainEvent(new DomainEvent(this, domain, MapEvent.ADD));
mediator.fireDomainDisplayEvent(new DomainDisplayEvent(this, domain));
}
/**
* Returns <code>true</code> if path contains a ApplicationProject object.