/**
* Constructor.
*/
public PookaPreviewPaneUIFactory(PookaUIFactory pSource) {
if (pSource != null) {
editorFactory = new PropertyEditorFactory(Pooka.getResources(), pSource.getIconManager(), Pooka.getPookaManager().getHelpBroker());
pookaThemeManager = new ThemeManager("Pooka.theme", Pooka.getResources());
mIconManager = pSource.getIconManager();
mMessageNotificationManager = pSource.getMessageNotificationManager();
} else {
pookaThemeManager = new ThemeManager("Pooka.theme", Pooka.getResources());
mIconManager = IconManager.getIconManager(Pooka.getResources(), "IconManager._default");
editorFactory = new PropertyEditorFactory(Pooka.getResources(), mIconManager, Pooka.getPookaManager().getHelpBroker());
mMessageNotificationManager = new MessageNotificationManager();
}
}