Which Element Sample - plugin detail
Language Infrastructure Sample
Plugin owner: |
geertjan |
Website: |
|
Added: |
2008-03-22 |
License: |
CDDL |
Category: |
NetBeans Rich Client Platform |
Downloaded: |
1,456 times |
Rating: |
|
Plugin Log |
Show log
2012-04-06 22:34:02 | geertjan | Plugin edited, id:6652, pubid:6652 | 2012-04-06 22:34:02 | geertjan | Plugin edit initiated |
|
|
Versions available
|
Download size: 0.02 MB
|
Last Update: 2012-04-06
|
What's new in this version
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:

|
[ You have to be logged in to be able to comment. ]
User Comments
URL to the referenced tutorial
http://netbeans.org/projects/platform/sources/platform-content/content/trunk/tutorials/60/nbm-whichelement.html?raw=true