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

Examples of org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.findChild()


        // get all cached models.
        Hashtable models = ExtensionPointManager.getInst().getIntroModels();
        Enumeration values = models.elements();
        while (values.hasMoreElements()) {
            IntroModelRoot model = (IntroModelRoot) values.nextElement();
            AbstractIntroPage page = (AbstractIntroPage) model.findChild(
                pageId, AbstractIntroElement.ABSTRACT_PAGE);
            if (page != null)
                return page;
        }
        // could not find page in any model.
View Full Code Here


        // get current standby state.
        boolean standby = IntroPlugin.isIntroStandby();
        String standbyAsString = standby ? IntroURL.VALUE_TRUE : "false"; //$NON-NLS-1$

        AbstractIntroPage pageWithIFrame = (AbstractIntroPage) model.findChild(
            mangledPageId, AbstractIntroElement.ABSTRACT_PAGE);
        if (pageWithIFrame != null) {
            pageWithIFrame.setIFrameURL(href);
            return introURL.showPage(mangledPageId, standbyAsString);
        }
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.