Re: Re: Incompatible change in the Java Module
Tomas Zezula <[email protected]> Mon, 25 Aug 2003 10:52:09 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
On Fri, 2003-08-22 at 16:22, Svata Dedic wrote: > Tomas Zezula napsal(a): > > Hi all, > > > > If your module adds looks into the srcmodel composite looks you have to > > move them into the folder Looks/Composites/org-openide-src/ on the > > layer. > It seems then that all looks that make sense only when a project context > is present have to check for getLookup().lookup(ProjectMember.class) != > null in each their operation, correct ? > > -Svata Yes, the ProjectMember is added to the Look's Lookup only if the Look displays Element which has a file representation in the project. Otherwise the Lookup.lookup (PM.class) returns null. But this behavior is the same as before change. Tomas > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >