Package org.eclipse.ui.application

Examples of org.eclipse.ui.application.IWorkbenchWindowConfigurer


        configurer.setTitle(Constants.APPLICATION_NAME);
   
   
    public void postWindowCreate()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        Shell shell = configurer.getWindow().getShell();
        shell.setImage(ApplicationRegistry.getImage(Constants.CONSOLE_IMAGE));
    }
View Full Code Here


        return new ApplicationActionBarAdvisor(configurer);
    }
   
    public void preWindowOpen()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        int x = Display.getDefault().getBounds().width;
        int y = Display.getDefault().getBounds().height;
        configurer.setInitialSize(new Point(9*x/10, 8*y/10));
        configurer.setShowCoolBar(true);
        configurer.setShowStatusLine(false);
       
        configurer.setTitle(Constants.APPLICATION_NAME);
   
View Full Code Here

        configurer.setTitle(Constants.APPLICATION_NAME);
   
   
    public void postWindowCreate()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        Shell shell = configurer.getWindow().getShell();
        shell.setImage(ApplicationRegistry.getImage(Constants.CONSOLE_IMAGE));
    }
View Full Code Here

    public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
        return new ApplicationActionBarAdvisor(configurer);
    }
   
    public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setShowProgressIndicator(true);
        configurer.setShowStatusLine(true);
        configurer.setShowCoolBar(true);
        configurer.setShowPerspectiveBar(false);
        configurer.setShowFastViewBars(false);
        configurer.setShowMenuBar(false);
        configurer.setInitialSize(new Point(1200, 700));
        configurer.setTitle("Помощник Расписания. Работает с таблицами Excel 97-2003."); //$NON-NLS-1$
    }
View Full Code Here

    return new ApplicationActionBarAdvisor(configurer);
  }

  @Override
  public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(700, 430));
    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(false);
    configurer.setTitle("FiRE");
  }
View Full Code Here

     * ActionBarAdvisor.fillActionBars, which is called immediately after this method is
     * called.
     */
    public void preWindowOpen()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize( new Point( 950, 708 ) );
        configurer.setShowCoolBar( true );
        configurer.setShowStatusLine( false );
        configurer.setShowPerspectiveBar( true );
        configurer.setShowProgressIndicator( true );
        configurer.setShowFastViewBars( true );

        // hopk up the listeners to update the window title
        // adapted from org.eclipse.ui.internal.ide.application.IDEWorkbenchWindowAdvisor
        // http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEWorkbenchWindowAdvisor.java?view=markup
        hookTitleUpdateListeners( configurer );
View Full Code Here

     *
     * @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

     * ActionBarAdvisor.fillActionBars, which is called immediately after this method is
     * called.
     */
    public void preWindowOpen()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize( new Point( 950, 708 ) );
        configurer.setShowCoolBar( true );
        configurer.setShowStatusLine( false );
        configurer.setShowPerspectiveBar( true );
        configurer.setShowProgressIndicator( true );
        configurer.setShowFastViewBars( true );

        // hopk up the listeners to update the window title
        // adapted from org.eclipse.ui.internal.ide.application.IDEWorkbenchWindowAdvisor
        // http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEWorkbenchWindowAdvisor.java?view=markup
        hookTitleUpdateListeners( configurer );
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.