|
From: Marcelo V. <va...@us...> - 2006-06-13 05:18:04
|
You don't need the dependency if you don't want to. It can be made an optional dependency if you put the PV-specific code in a static inner class, and only call it if PV is available. Take a look at PV's projectviewer.vpt.IconComposer class, which uses ErrorList only when it's available. Dale Anson wrote: > Thanks, that helps. I added a dependency on ProjectViewer in > JavaSideKick so I can get the current project from ProjectOptions. If > the project is an existing project, the name is available in my _init > method, so I can get previously set properties and display them. If the > project is a new project, the name of the project is available in my > _save method, so I can save per project properties. This all works > well, the only downside (if you can call it a downside) is that now I > have a new dependency on ProjectViewer. -- Marcelo Vanzin va...@us... "Life is too short to drink cheap beer" |