this.displayer = new WindowSingleContentDisplayer(this);
}
@Override
public void addContent(WindowSectionContent content, AddContentCallback callback) {
AddContentCallback safeCallback = (callback != null) ? callback : new AddContentCallbackAdapter() { /**/ };
if (content.getId().equals(contentID)) {
safeCallback.contentAdded(this, content);
return;
}
this.contentID = content.getId();