Package org.eclipse.ui.internal.presentations.util

Examples of org.eclipse.ui.internal.presentations.util.AbstractTabFolder


        // Ensure that the shell's minimum size is capable of showing the initial first tab
        // We can only do this for 'Tabbed' stacked presentations...
        if (folder.getPresentation() instanceof TabbedStackPresentation) {
          TabbedStackPresentation stack = (TabbedStackPresentation) folder.getPresentation();
         
          AbstractTabFolder tabFolder = stack.getTabFolder();
          if (tabFolder.getItemCount() == 1) {
            // Get the space that we need to show the tab
            AbstractTabItem firstItem = tabFolder.getItem(0);
            Rectangle tabRect = firstItem.getBounds();
           
            // Take the current shell 'trim' into account
            int shellHeight = windowShell.getBounds().height - windowShell.getClientArea().height;
            int shellWidth = windowShell.getBounds().width - windowShell.getClientArea().width;
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.presentations.util.AbstractTabFolder

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.