Re: Re: project conversion questions

Svata Dedic <[email protected]> 31 Jul 2003 08:48:49 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
On Thu, 2003-07-31 at 08:33, Tomas Zezula wrote:
> I agree with Svata, the only problem is that Project is not a
> Node.Cookie :-(
> To allow this I will need to extend the Element interface by getLookup()
> method.
So - another shot in bad direction :( I remembered that one of
Project/ProjectMember (still!) gets Node.Cookie injected by the
post-compilation steps and picked the wrong one; it's the Project class,
according to build script. 

Does your code's execution start with a knowledge of a Node ? If so,
then you could use Node.getLookup().lookup(ProjectMember).

-Svata