Re: [RomaFramework-dev] R: Plugin-based development in ROMA?
Brought to you by:
lvca
|
From: ted s. <emo...@ya...> - 2006-09-13 10:28:03
|
Luca Garulli wrote: > But what you need it's quite different: to define "virtual" class. > Namely...Class without a ".class" but definited at run-time. Current release > doesn't support this feature completely. Roma creates a SchemaClass instance > for any Class definition. SchemaClass inherits SchemaClassDefinition. > SchemaClassDefinition is unjoined with .class. So I should change some part > of ROMA where uses SchemaClass to use the base abstract > SchemaClassDefinition rather. > > SchemaClassDefinition is what you need. You can build instances at run-time > and register their in the SchemaManager to be viewed by all Roma modules and > aspects. > > I need to refactor a little bit classes to support full "virtual" class > definition. It seems to me an important feature to release before 1.0! > > Do I have understand correctly your needs? > I downloaded the ROMA code and took a look at SchemaClassDefinition. Yes! SchemaClassDefinition looks like exactly the kind of thing I need. I will try to implement my proposed extension to the menu example myself. That will be a good way for me to learn more about ROMA. Of course, I will eventually need to pick up the ROMA refactorings to always use SchemaClassDefinition. Thanks, -ted |