Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » separating business model from view model
separating business model from view model [message #200580] Tue, 25 October 2005 15:45 Go to next message
Eclipse UserFriend
Originally posted by: jkarlik.info.fundp.ac.be

Hello,

I would like to know what's the main advantages of separating business
information from views information? Is it only an advantage when we want
to provide more than one representation for one business model element?

It's obvious that I don't want to pollute mu business metamodel with all
graphical stuffs (colors, coordinates, row numbers, etc...) and I would
like to persist the changes of the users. So when the user highlights
some elements in the diagram and then close the diagram and then open it
again, the last selected elements must be yet highlighted. So I think
that i have to keep track somewhere in my metamodel of the current
graphical state of my metamodel representation. But where? in the same
model or not? We can think of my application a little bit as the famous
XML engine "XMLspy" to view XML documents. I would like to provide the
best architecture for my metamodel.

What would be your best advice to link together the two models (business
and view)? Which one must reference to the other?
Re: separating business model from view model [message #200678 is a reply to message #200580] Tue, 25 October 2005 20:08 Go to previous message
venkataramana m is currently offline venkataramana mFriend
Messages: 86
Registered: July 2009
Member
Why not have a look at UML Diagram Interchange Metamodel from OMG as View-Metamodel ? It is not specific for UML as such as the name suggests. It can be applied to any diagramming domain with some augmentation like the one you wish to have !

We use UML-DI for view-model representation and ofcourse business models no one can dictate (that is the BUSINESS ;-) )

~Venkat
Previous Topic:Resizing and Handle
Next Topic:Making a figure stretch to fill its parent
Goto Forum:
  


Current Time: Fri Dec 06 08:07:24 GMT 2024

Powered by FUDForum. Page generated in 0.05265 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top