[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI - Modifying class forms via the API



Derrick Butler wrote:
> The only question i still have, after running this code, when going
> to the forms tab and selecting the metaclass created below, the form
> displays in a default layout.  If I dbl-click on an empty area of the
> form bringing up the config dialog, click ok without doing anything
> else, then the form gets displayed correctly.  If i go to the classes
> tab (even before going to the form tab), look at any class created
> with the custom metaclass, the form comes up the way it should look
> without having to do anything.  Any ideas on that one?

Yes.  After changing the form call

project.postFormChangeEvent(metaclass);

Ray




-----------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/lists.html