| 
| Map an External Model to BPEL Model like uiextensionmodel? [message #6688] | Thu, 08 February 2007 16:51 |  | 
| Eclipse User  |  |  |  |  | Originally posted by: ahocking.roguewave.com 
 I would like to add metadata to various elements in the BPEL Model, create a
 property page for that data and save the meta data in a separate file like
 the .bpelex.  There would end up being 3 files for a given BPEL, .bpel,
 ..bpelex, .bpelfoo.
 
 I've looked through most of the UI code, looking at how it handles the
 uiextensionmodel and the ExtensionMap.  Adding Adapters to the
 ModelListenerAdapter shouldn't be too difficult, but tapping into your
 undo/redo framework would be tricky.  Also, there is only one extensionMap
 for a given editor.  Anything stored there will be persisted to .bpelex.  If
 I manage my own FooExtensionMap, how can I listen for file load/save to
 persist to a separate file?  I'd rather not reproduce what you have already
 implemented, but rather have the ability to add an ExtensionMap to some
 collection of ExtensionMaps so that the existing code could handle the
 command stack, persistence, etc. for (n) extension models.
 
 Is this possible?  Is there something I have missed that would provide this
 extensibility?
 
 Thank you,
 
 - Arron Hocking
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.49230 seconds