Hi, Diogo.

I have thought about it.
But. Plugin class does nothing know about MetaData source. It does not know about filesystem and that metadataObject is QDox JavaClass.

You suggest to put following code to Plugin class.
  if ((JavaClass)metadata).getPath() is in restrictedPath then skip generation
But checking like this conflicts with design principles. I have put restrictedPath property to QDoxPlugin because *IT* operates with java classes.

On 9/6/05, Diogo Quintela (EF) <[EMAIL PROTECTED]> wrote:
| 2) Fix your plugin shouldGenerate() method. Add
| if (!super.shouldGenerate(metadata))
| return false;
| on the top of method.

Couldn't this be changed at Plugin.java level ?? To support this every
plugin needs to be updated, it seems quite a pain in the ass.

Diogo







--
anatol

Reply via email to