displayedEntity = (entity != null) ? entity : this.project;
viewDetailsAction = new ViewDeployResultDetailsAction(project);
deleteAction = new DeleteSelectedDeployResultsAction(project.getDeployHistory());
table = createTable(entity);
titlePanel = new TitlePanel(displayedEntity);
addResource(new DisposableWindowElementResource(table));
if (projectManager != null) {
addResource(new ProjectManagerListenerImpl(projectManager));
}
table.setHistory(project.getDeployHistory(), false);
}