sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
20070130 Tuesday January 30, 2007

A simple System FileSystem Browser with a twist

I have uploaded the System FileSystem and META-INF Services Browser module for Netbeans 5.5 and 6.0 to my NetBeans update center described here.

This modules displays the System FileSystem (resulting from combining all the layer files of installed modules) in a window. To show the System FileSystem and META-INF Services Browser select Window:System FileSystem META-INF Services Browser menu item.

There are other System FileSystem Browser modules but this one has a twist. The special features of this System FileSystem and META-INF Services Browser are:

  • the popup menu on the nodes shows the actions that show the documentation related to the node or it's parent node in the web browser. The documentation may be API, Architecture Descriptions, FAQ, File format documents etc. Try right clicking on the Editor node after showing the System FileSystem Browser. Other nodes that are currently supported are Actions, Menu Bar, Editors, Loaders, Services, Modules, Window2Local. I plan to add more. The actions shown in the popup menu are configured using the FolderLookup mechanism under the special folder called org.netbeans.modules.sfsbrowser in the System FileSystem. The actions can be NetBean platform independent or configured based on the platform cluster folder name in the netbeans.home directory. That way the actions can be made sensitive to the NetBeans platform you are running.
  • the attributes of the file or the folder are shown
  • the registered META-INF/services are shown 

SFS Browser

Fig. SFS Browser and META-INF Services Window

Editor API Description shown in Browser

Fig 2.  Web Browser showing the Editor API Details

 

Over time, I plan to update the module to include links to the documentation of most of the well known folders/files/attributes nodes in the layer file. I can imagine in future that other module writers can add documentation for their extensions by adding the required entries under the org.netbeans.modules.sfsbrowser to their module's layer file.

TODO: Make System FileSystem browser dynamic i.e. respond to changes in System FileSystem.

I will make the sources available soon.

DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.


Posted by sandipchitale ( Jan 30 2007, 11:02:48 PM PST ) Permalink Comments [4]


Trackback URL: http://blogs.sun.com/scblog/entry/a_simple_system_filesystem_browser
Comments:

This looks great, want to try it soon.

Posted by Geertjan on February 02, 2007 at 12:51 AM PST #

I am in the process of adding more and more doc links to various nodes. Get the latest from the update center.

Posted by Sandip on February 02, 2007 at 01:32 AM PST #

I'd like to suggest to search for <api group="layer" name="name-of-the-folder" /> and use that as a documentation for those folders that are really documented: http://www.netbeans.org/download/dev/javadoc/layers.html

Posted by Jaroslav Tulach on February 04, 2007 at 04:18 AM PST #

Thanks Yarda for the suggestion. I will make sure my links are correct based on your suggestion.

I guess what I am trying to do is to provide additional links to API JavaDoc, FAQ, Tutorials, Blogs, Examples and so on.

Posted by Sandip on February 04, 2007 at 06:22 PM PST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed








« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 638


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog