higher-level access to model [message #874670] |
Mon, 21 May 2012 06:43  |
Eclipse User |
|
|
|
Hi,
My model may contain information that is spread all over it, but that needs to be possible to present as a single item. For example, there is meta-information about which functions are exported from a module; a sane API would have a Module.getExportedFunctions that consolidates it.
The way I started to do it is by writing helper methods that do this work. Using Xtend, they even look like native methods of Module.
But there is a problem: I don't want to build this information every time it is needed. I can cache it, but the cache needs to be cleared whenever the model changes. Do I have to use my own build participant, or is there another way?
best regards,
Vlad
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06393 seconds