Moving to new looks?

[email protected] Mon, 04 Aug 2003 15:53:36 -0700
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
 
I was using the old looks api to add an action and a lookup to the project 
node. Under the new api, I can figure out how to add an action, but I'm having 
trouble with the "add a lookup portion".

Before, I could override attachTo to add my new lookup to the NodeSubstitute.

Now, I could override getLookupItems(), but returning a Collection is strictly 
inferior to returning a Lookup - with a Lookup I can lazily create objects, 
etc.

Also, the documentation for DefaultLook.actionBase() is incomplete - it says 
you could use the context Looks/Actions/... to declaratively declare actions, 
but I can't find an example of this actually being done so I can see how to do 
it.

--George