Which Element Sample - plugin detail

Language Infrastructure Sample

NetBeans Plugin - Which Element Sample
Plugin owner: geertjan
Added: 2008-03-22
License: CDDL
Category: NetBeans Rich Client Platform
Downloaded: 1,456 times
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   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


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

Posted by markiewb on May 12, 2012