Java Code Examples for org.eclipse.ui.application.IWorkbenchWindowConfigurer#getWindow()

The following examples show how to use org.eclipse.ui.application.IWorkbenchWindowConfigurer#getWindow() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ApplicationWorkbenchWindowAdvisor.java    From tlaplus with MIT License 5 votes vote down vote up
public void preWindowOpen()
{
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(800, 600));
    configurer.setShowFastViewBars(true);
    configurer.setShowStatusLine(true);
    configurer.setShowProgressIndicator(true);
    configurer.setShowCoolBar(false);
    
    // A DropTargetAdapter is need for editor DND support
    final DropTargetListener dtl = new EditorAreaDropAdapter(
            configurer.getWindow());
    configurer.configureEditorAreaDropListener(dtl);
}
 
Example 2
Source File: BonitaStudioWorkbenchWindowAdvisor.java    From bonita-studio with GNU General Public License v2.0 4 votes vote down vote up
public BonitaStudioWorkbenchWindowAdvisor(final IWorkbenchWindowConfigurer configurer) {
    super(configurer);
    configurer.setShowProgressIndicator(true);
    window = configurer.getWindow();
}