HTML Hyperlink Provider Sample - plugin detail

Sample showing how to create hyperlinks in the editor. Not for Schliemann! This is just an HREF implementation of the standard Editor Hyperlinking API.

NetBeans Plugin - HTML Hyperlink Provider Sample
Plugin owner: geertjan
Website: http://blogs.sun.com/geertjan
Added: 2007-10-03
License: CDDL
Category: NetBeans Rich Client Platform
Downloaded: 1,046 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.02 MB   Last Update: 2007-10-03

What's new in this version

Pics added below.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Install the module and then you have a sample in the Samples | NetBeans Modules category of the New Project wizard. Finish the wizard and you have a module. Install the module and then you can hold down the Ctrl key while moving the mouse over the value of an HREF attribute, which then becomes a hyperlink. Click the hyperlink and the referenced document opens. Currently works only for local documents, not for those that are online.

Sample location:

1191392442655_hyperlinksample.png

End result:

1191392442655_hyperlinksample2.png

Note: This sample uses Lexer API. This sample uses StyledDocument instead of BaseDocument.

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo