Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Code generation and listeners

Simon Paradies simon.paradies.ext at siemens.com
Tue Apr 14 01:15:29 PDT 2009


Hi Tania,

Tania Tudorache <tudorache <at> stanford.edu> writes:

> 
> This hasn't been requested before, but it seems reasonable :)
> 
> You can retrieve the wrapped instance (not nice, but it works), by 
> casting the object to a AbstractWrappedInstance and call on it:
> 

edu.stanford.smi.protege.code.generator.wrapping.
AbstractWrappedInstance.getWrappedProtegeInstance()
> 
> Then, you can attach to it any Protege listener.

Thanks for the hint. Meanwhile, I ended up extending the generated classes 
manually (which is also rather a low effort task).

Thanks again 
Simon




More information about the protege-discussion mailing list