/*
* @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()
*/
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
/* Set Window State and define visibility of UI elements */
configurer.setShowCoolBar(true);
configurer.setShowPerspectiveBar(false);
configurer.setShowStatusLine(true);
configurer.setShowMenuBar(true);
configurer.setShowFastViewBars(false);
configurer.setShowProgressIndicator(true);
configurer.setTitle("RSSOwl"); //$NON-NLS-1$
/* Set Window Size to match monitor size (only on single monitor) */
Point size = OwlUI.getFirstMonitorSize();
if (size != null)
configurer.setInitialSize(size);
/* Apply DND Support for Editor Area */
configurer.addEditorAreaTransfer(LocalSelectionTransfer.getTransfer());
configurer.configureEditorAreaDropListener(new EditorDNDImpl());
/* Retrieve Preferences */
fPreferences = Owl.getPreferenceService().getGlobalScope();
}