Which Element Sample - plugin detail
Language Infrastructure Sample
| Plugin owner: |
geertjan |
| Website: |
|
| Added: |
2008-03-22 |
| Last updated: |
2012-04-06 |
| NetBeans Versions: |
6.9 |
| License: |
CDDL |
| Category: |
NetBeans Rich Client Platform |
| Size: |
0.02 MB |
| Downloaded: |
212 times |
| Rating: |
|
Verifications for NetBeans versions
Plugin is not subject to any verification |
Introduction
Simple module based on new (Javac based) Java language infrastructure. It shows info about the Element under the caret in a read-only text field (40 column) in the status bar. The text can be copied. The tool tip shows the full text so that it can be seen when is wider than 40 columns. The module makes/demonstrates use of CaretAwareJavaSourceTaskFactory and
CancellableTask.
Here you can see where you will find the sample:

Here is the result when you install the sample, i.e., open a Java file, select something, and notice the bottom right corner of the IDE contains the information about the element under the cursor:

What's new in this version
|
[ You have to be logged in to be able to comment. ]
User Comments
URL to the referenced tutorial
Posted by markiewb on May 12, 2012