DataDomain domain = mediator.getCurrentDataDomain();
// use domain name as DataNode base, as node names must be unique across the
// project...
DataNode node = buildDataNode();
mediator.fireDataNodeEvent(new DataNodeEvent(this, node, MapEvent.ADD));
mediator.fireDataNodeDisplayEvent(new DataNodeDisplayEvent(this, domain, node));
}
/**
* Creates a new DataNode, adding to the current domain, but doesn't send any events.