viewer.setListener(shutdownListener);
viewer.setExploration(isInExplorationMode());
viewer.setPrototype(isInPrototypeMode());
if (helpViewer == null) {
helpViewer = new InternalHelpViewer(viewer);
}
viewer.setHelpViewer(helpViewer);
frame.setViewer(viewer);