Package org.eclipse.ui.internal.intro.impl.swt

Examples of org.eclipse.ui.internal.intro.impl.swt.PageStyleManager


            // this will create the page in the page form.
            model.setCurrentPageId(cachedPage);

        AbstractIntroPage pageToShow = getModel().getCurrentPage();
        // load style manager here to test for navigation.
        PageStyleManager styleManager = new PageStyleManager(pageToShow,
            sharedStyleManager.getProperties());
        boolean pageHasNavigation = styleManager.showHomePageNavigation();
        if (pageToShow != null) {
            if (pageBook.hasPage(pageToShow.getId()))
                // we are showing Home Page.
                pageBook.showPage(pageToShow.getId());
            else {
View Full Code Here


        boolean pageisCached = showCachedPage(pageToShow);

        if (!pageisCached) {
            // page has not been shown before.
            // load style manager here to test for navigation.
            PageStyleManager styleManager = new PageStyleManager(pageToShow,
                sharedStyleManager.getProperties());
            boolean pageHasNavigation = styleManager.showHomePageNavigation();
            if (pageHasNavigation) {
                // page or Home Page with a regular page layout, set the
                // page id to the static PageFormWithNavigation id. first
                // create the correct content.
                pageFormWithNav.showPage(pageToShow, sharedStyleManager);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.intro.impl.swt.PageStyleManager

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.