Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6834189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:04:51+00:00 2026-05-26T23:04:51+00:00

I have a properly functioning Eclipse RCP program which opens the org.eclipse.ui.intro extension to

  • 0

I have a properly functioning Eclipse RCP program which opens the org.eclipse.ui.intro extension to a home-page-id of root.xhtml. Inside of the root.xhtml home page, there are links to other XHTML pages to offer help.

I am trying to create buttons throuhout my GUI which, when you click them, they would take you to the correct XHTML documentation page. All I can figure out so far is how to get the buttons to take me to the root.xhtml page, but I cannot figure out how to tell the intro page to navigate to a different page. Here is the code I am using now to open the intro page:

help_button.addSelectionListener(new SelectionAdapter()
{
    public void widgetSelected(SelectionEvent event)
    {
        ActionFactory.INTRO.create(DataStore.getInstance().getCurrentWorkbenchPage().getWorkbenchWindow()).run();
    }
})

For example, I am trying to do something like this where the hyperlink string in quotes is exactly the same as the hyperlink in the root.xhtml file:

 ActionFactory.INTRO.create(DataStore.getInstance().getCurrentWorkbenchPage().getWorkbenchWindow()).run().navigateTo("http://org.eclipse.ui.intro/showPage?id=setuplogging");
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:04:51+00:00Added an answer on May 26, 2026 at 11:04 pm

    I was able to figure this out, it was rather time consuming and painful to do so – hopefully it helps someone out. At least the answer is a few lines of code.

    You have to show the intro site getIntroSite() first before changing the URL otherwise you will get a null pointer exception in IntroURL. If you get the null pointer exception when calling createIntroURL(), it may have to do with an intro site not being already open in your GUI, not necessarily that your link is bad. Also, if the intro is already open, don’t try to reopen it because it will change the page to the home page rather than your page identified with page_id. So, for this class, I made the help button a toggle button meaning if the intro window is open, then the button is pressed. In some cases I close the intro site if it is already open when the button is pressed (example below), in other cases I just don’t update the intro site so it won’t go to the home page (example not shown, but just omit the first part of the if block).

    If you try the ActionFactory run() code in my question, that will display the intro site in the entire Window. I wanted the intro site to be a sub-window within the perspective, so I used the method below by setting showIntro(null, true) – true meaning don’t take up the entire window (they call the Boolean standby).

    The page_id corresponds to the page id setup in your documentation XML file when setting up your extension point org.eclipse.ui.intro.config content variable.

        final IIntroPart
            intro = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().
                getWorkbenchWindow().getWorkbench().getIntroManager().
                    getIntro();
    
        if (PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().
                getWorkbenchWindow().getWorkbench().getIntroManager().
                    isIntroStandby(intro))
        {
            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().
                getWorkbenchWindow().getWorkbench().getIntroManager().
                    closeIntro(intro);
    
            help_button.setSelection(false);
        }
        else
        {
            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().
                getWorkbenchWindow().getWorkbench().getIntroManager().
                    showIntro(null, true).getIntroSite();
    
            IIntroURL
                introURL = IntroURLFactory.createIntroURL(
                    "http://org.eclipse.ui.intro/showPage?id=" + page_id);
    
            introURL.execute();
    
            help_button.setSelection(true);
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website which requires javascript enabled to be functioning properly. So this
I have a RolesProvider properly registered and functioning. When the ASPX-page is executed I
How can I check whether all JavaScript functions have loaded properly on a page?
I have a XmlDocument which is not properly formed <library> <dept> <books></books> <language></language> </dept>
I have to maintain an old database which is not properly normalized. For instance
I have a nested model form that isn't functioning properly. The POST is to
In both plugins the page size select list is not functioning properly. When I
Basically I have a website. I have a properly setup sitemap so I assume
i asked this question yesterday but it doesnt seem to have asked properly so
Ok, I am back on this task. I have my XML properly download from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.