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

Examples of org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation


      return null;

    AbstractIntroPartImplementation implementation = null;
    try {
      if (implementationType.equals(BROWSER_IMPL_KIND))
        implementation = new BrowserIntroPartImplementation();
      else if (implementationType.equals(FORMS_IMPL_KIND))
        implementation = new FormIntroPartImplementation();
      else
        implementation = new TextIntroPartImplementation();
    } catch (Exception e) {
View Full Code Here


    /*
     * Internal test hook (Non-API).
     */
    public boolean internal_isFinishedLoading() {
      BrowserIntroPartImplementation impl = (BrowserIntroPartImplementation)presentation.getIntroPartImplementation();
      return impl.isFinishedLoading();
    }
View Full Code Here

            .getImplementationKind();

        if (presentationStyle.equals(IntroPartPresentation.BROWSER_IMPL_KIND)) {
            // HTML presentation
            url = ModelUtil.resolveURL(url, pluginId);
            BrowserIntroPartImplementation impl = (BrowserIntroPartImplementation) IntroPlugin
                .getDefault().getIntroModelRoot().getPresentation()
                .getIntroPartImplementation();
            Browser browser = impl.getBrowser();
            return browser.setUrl(url);
        }
        {
            // SWT presentation.
            return openBrowser(url, pluginId);
View Full Code Here

                && presentationStyle
                    .equals(IntroPartPresentation.BROWSER_IMPL_KIND)) {

            // Embedded is true and we have HTML presentation, show href
            // embedded, either in full page, or in div.
            BrowserIntroPartImplementation impl = (BrowserIntroPartImplementation) presentation
                .getIntroPartImplementation();
            // INTRO: maybe add support for navigation
            href = PlatformUI.getWorkbench().getHelpSystem()
                .resolve(href, true).toExternalForm();

            if (embedTarget == null)
                return impl.getBrowser().setUrl(href);

            // embedded in Div case.
            IntroModelRoot model = IntroPlugin.getDefault().getIntroModelRoot();
            return handleEmbedURLInDiv(href, embedTarget, model
                .getCurrentPage());
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation

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.