Package org.eclipse.ui.application

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer


     *
     * @return the computed title
     */
    private String computeTitle()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        IWorkbenchPage currentPage = configurer.getWindow().getActivePage();
        IEditorPart activeEditor = null;
        if ( currentPage != null )
        {
            activeEditor = lastActiveEditor;
        }
View Full Code Here


    /**
     * Recomputes the title.
     */
    private void recomputeTitle()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        String oldTitle = configurer.getTitle();
        String newTitle = computeTitle();
        if ( !newTitle.equals( oldTitle ) )
        {
            configurer.setTitle( newTitle );
        }
    }
View Full Code Here

     * [currentPerspective -] [editorInput -] [workspaceLocation -] productName
     * @param editorHidden
     */
    private void updateTitle( boolean editorHidden )
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        IWorkbenchWindow window = configurer.getWindow();
        IEditorPart activeEditor = null;
        IWorkbenchPage currentPage = window.getActivePage();
        IPerspectiveDescriptor persp = null;
        IAdaptable input = null;

View Full Code Here

   *
   * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()
   */
  public void preWindowOpen() {
    logger.debug("preWindowOpen() entering");
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(INITIAL_WINDOW_WIDTH,
        INITIAL_WINDOW_HEIGHT));
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setTitle("SyncYourSecrets");
    logger.debug("preWindowOpen() exiting");
  }
View Full Code Here

   * Set the Layout and some window properties, before it opens.
   *
   * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()
   */
  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(600, 400));
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setTitle("SyncYourSecrets");

  }
View Full Code Here

    return new MeiseApplicationActionBarAdvisor(configurer);
  }

  @Override
  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(1280, 960));
    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(true);
    configurer.setShowProgressIndicator(true);
  }
View Full Code Here

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

  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setShowCoolBar(true);
  }
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()
   */
  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(400, 300));
    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(true);
  }
View Full Code Here

    }
  }

    @Override
  public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize(new Point(600, 400));
       
        configurer.setShowCoolBar(true);
        configurer.setShowPerspectiveBar(true);
        configurer.setShowStatusLine(true);
        configurer.setShowProgressIndicator(true);

        // PlatformUI is adapted in plugin_customization.ini

        hookTitleUpdateListeners(configurer);
    }
View Full Code Here

    /**
     * Updates the window title. Format will be:
     * [pageInput -] [currentPerspective -] [editorInput -] [workspaceLocation -] productName
     */
    private void updateTitle() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        IWorkbenchWindow window = configurer.getWindow();
        IEditorPart activeEditor = null;
        IWorkbenchPage currentPage = window.getActivePage();
        IPerspectiveDescriptor persp = null;
        IAdaptable input = null;
       
View Full Code Here

TOP

Related Classes of org.eclipse.ui.application.IWorkbenchWindowConfigurer

Copyright © 2018 www.massapicom. 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.