Which Element Sample - plugin detail

Language Infrastructure Sample

NetBeans Plugin - Which Element Sample
Plugin owner: geertjan
Website:
Added: 2008-03-22
License: CDDL
Category: NetBeans Rich Client Platform
Downloaded: 585 times
Rating:
 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



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:

1206201668609_which-element-2.png

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:

1206201668587_which-element-1.png

[ 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
Posted by markiewb on May 12, 2012
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