Re: Moving to new looks?

Ondrej Rypacek <[email protected]> Tue, 05 Aug 2003 15:21:35 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
Hm, to obiha bleskove. Prave jsem ti to poslal, z jinyho zdroje. Pak 
jsem se prolistoval az k tyhle tvy messagi :-)
o.

[email protected] wrote:

> 
>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
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>  
>