Examples of IWorkbenchWindowConfigurer


Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

    public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
      return new ApplicationActionBarAdvisor(configurer);
    }
   
    public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setShowStatusLine(false);
        configurer.setTitle(Messages.getString("ApplicationWorkbenchWindowAdvisor.window.title"));
        configurer.getWorkbenchConfigurer().setSaveAndRestore(true);
        configurer.setShowCoolBar(true);
    }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

      IActionBarConfigurer configurer) {
    return new ApplicationActionBarAdvisor(configurer);
  }

  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();   
    configurer.setInitialSize(new Point(1024, 650));
   
    configurer.setShowCoolBar(Activator.getDefault().getPreferenceStore().getBoolean(PreferenceConstants.PLAYERVIEW_SHOW_IN_TOOLBAR));
   
    configurer.setShowStatusLine(true);
    configurer.setShowProgressIndicator(true);
    configurer.setTitle(Constants.APP_NAME);
  }     
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

  protected IWorkbenchWindowConfigurer getWindowConfigurer() {
    return super.getWindowConfigurer();
  }

  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    store = GOIMPlugin.getDefault().getPreferenceStore();
    if(PlatformUI.getWorkbench().getWorkbenchWindowCount() < 1) {
      // I guess this is the main window .. so .. let's set an appropriate size for contact lists
      configurer.setInitialSize(new Point(300, 500));

      String style = store.getString(PreferenceConstants.P_MAIN_WINDOW_STYLE);
      if(style.equals(PreferenceConstants.P_MAIN_WINDOW_STYLE_VALUE_OSDEFAULT)) {
       
      } else if(style.equals(PreferenceConstants.P_MAIN_WINDOW_STYLE_VALUE_TOOL)) {
        configurer.setShellStyle(configurer.getShellStyle() | SWT.TOOL);
      } else if(style.equals(PreferenceConstants.P_MAIN_WINDOW_STYLE_VALUE_NOBORDER)) {
        configurer.setShellStyle(SWT.TOOL | SWT.RESIZE);
      }
      configurer.setData("isMainWindow",true);
    } else {
      // This is a secondary window which may be used for chat windows.. so .. make it wider ...
      configurer.setInitialSize(new Point(500,400));
    }
    configurer.setShowMenuBar(store.getBoolean(PreferenceConstants.P_MAIN_WINDOW_DISPLAY_MENUBAR));
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setShowPerspectiveBar(true);
    configurer.setTitle("Gamers Own Instant Messenger");
    logger.finest("WorkbenchWindow.preWindowOpen");
   
  }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

      IActionBarConfigurer configurer) {
    return new ApplicationActionBarAdvisor(configurer);
  }

  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(640, 480));
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setTitle("Saros Whiteboard");

    configurer.setShowCoolBar(true);
  }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

    public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
        return new ApplicationActionBarAdvisor(configurer);
    }
   
    public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize(new Point(800, 600));
        configurer.setShowCoolBar(true);
        configurer.setShowStatusLine(true);
        configurer.setTitle("Smart Trace");
    }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

    public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
        return new ApplicationActionBarAdvisor(configurer);
    }
   
    public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize(new Point(700, 600));
        configurer.setShowCoolBar(true);
        configurer.setShowStatusLine(false);
    }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

  @Override
  public void preWindowOpen() {
    super.preWindowOpen();
   
    IWorkbenchWindowConfigurer configurer = this.getWindowConfigurer();
   
    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(false);
    configurer.setTitle("XVR Developer Studio 2.0");
    configurer.setShowPerspectiveBar(true);
    configurer.setShowProgressIndicator(true);
   
    PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
    PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.DOCK_PERSPECTIVE_BAR, IWorkbenchPreferenceConstants.RIGHT);
  }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

    return new ApplicationActionBarAdvisor(configurer);
  }

  @Override
  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(750, 550));
    configurer.setShowMenuBar(true);
    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(true);
    configurer.setTitle("DepAn");
  }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

     * ActionBarAdvisor.fillActionBars, which is called immediately after this method is
     * called.
     */
    public void preWindowOpen()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize( new Point( 1000, 660 ) );
        configurer.setShowCoolBar( true );
        configurer.setShowStatusLine( false );
        configurer.setShowPerspectiveBar( true );
        configurer.setShowProgressIndicator( true );
    }
View Full Code Here

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer

    return new ApplicationActionBarAdvisor(configurer);
    }

  public void preWindowOpen()
    {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();

    Rectangle rscreen = Display.getDefault().getBounds();

    // Taken into account at first RUN
    configurer.setInitialSize(new Point(Math.max(640, rscreen.width), Math.max(480, rscreen.height)));

    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(true);
    configurer.setTitle("HIDB2");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.