Majid
Majid

Reputation: 664

Customizing the built in WorkbenchAction

I just started working on a project using RCP. And in its "about" section, it uses the built in WorkbenchAction:

IWorkbenchAction actionAbout = ActionFactory.ABOUT.create(window);
actionAbout.setText(Messages.ABOUT);
itemAbout = new ActionContributionItem(actionAbout);

However, I need to add a tab in that popup and I'm not finding any way to customize it. Is this something possible or should look for another way to do things?

Upvotes: 0

Views: 61

Answers (1)

greg-449
greg-449

Reputation: 111162

Use the org.eclipse.ui.installationPages extension point to add a tab to the Installation Details tabs.

<extension point="org.eclipse.ui.installationPages"> 
   <page
        name="XYZ Info"
        class="package.XYZInstallInfoPage"
        id="plugin.xyz>
   </page>
</extension>

Your class must extends org.eclipse.ui.about.InstallationPage

For more details see the help

Upvotes: 1

Related Questions