|
What this is
Other links
The source code<?xml version="1.0" encoding="UTF-8"?> <cheatsheet title="Make the Eclipse Brower Extensible"> <intro> <description> This tutorial will show you how to make the list of browsers used in the Eclipse Browser view extensible. </description> </intro> <item title="Change the Open Link implementation" dialog="true" skip="false"> <description> In order to change the implementation of the Open Link action in the Eclipse Browser view, perform the following steps: </description> <subitem label="Bring up the "Open Type" dialog via "Navigate > Open Type..." from the main menu." skip="false"> </subitem> <subitem label="Open the EclipseBrowserView class." skip="false"> </subitem> <subitem label="Replace line 74 with the following: private OpenLinkAction fOpenLinkAction = new ExtensibleOpenLinkAction();" skip="false"> </subitem> <subitem label="Save the file via "File > Save" from the main menu." skip="false"> </subitem> </item> <item title="Add an HTML Browser extension" dialog="true" skip="false"> <description> To add an HTML Browser extension, perform the following steps: </description> <subitem label="Open the org.eclipse.browser/plugin.xml file." skip="true"> <command serialization="org.eclipse.ui.navigate.openResource(filePath=org.eclipse.browser/plugin.xml)" confirm="false"> </command> </subitem> <subitem label="On the "Extensions" page of the plug-in manifest editor, press the "Add..." button to open the "New Extension" wizard." skip="false"> </subitem> <subitem label="Select "org.eclipse.browser.htmlBrowsers" from the "Extension Points" list box and press "Finish"." skip="false"> </subitem> <subitem label="(Eclipse 3.2 Only) Right-click on the "org.eclipse.browser.htmlBrowsers" node and select "New->browser" from the context menu." skip="true"> </subitem> <subitem label="Replace the content of the "id" text box under "Extension Element Details" with "org.eclipse.browser.builtin"." skip="false"> </subitem> <subitem label="Replace the content of the "name" text box under "Extension Element Details" with "Internal Browser"." skip="false"> </subitem> <subitem label="Replace the content of the "class" text box under "Extension Element Details" with "org.eclipse.browser.view.ui.actions.InternalBrowser"." skip="false"> </subitem> <subitem label="Save the file via "File > Save" from the main menu." skip="false"> </subitem> </item> </cheatsheet> |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.