tw.setActive(toolPageComponent.isActive());
dockable = tw;
}
else {
// Create and register a new content to the mydoggy layout manager
Content c = contentManager.addContent(pageComponent.getId(), pageComponent.getDisplayName(), // tabName
pageComponent.getIcon(), pageComponent.getControl(), pageComponent.getDisplayName(), // toolTip
constraint);
dockable = c;
}
Assert.notNull(dockable);