Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » doubt about view and business model
doubt about view and business model [message #114225] Wed, 28 January 2004 09:41 Go to next message
Eclipse UserFriend
Originally posted by: david_danie.hotmail.com

Hi Friends,
In my project i am using separate 'view' models for
displaying and editing each diagrams in GraphicalViewer. Now i want to
store all the contents in XML format.

I have few doubts about model,
1. Can i use the same 'view' models for saving?( I create separate
models for each editparts.)
2. Can you explain the usage of view and business models?.
3. Each diagram have separate business models or it is common for all
diagrams?.

thanks
Pushparaj.
Re: doubt about view and business model [message #114539 is a reply to message #114225] Wed, 28 January 2004 19:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Danie wrote:
| Hi Friends,
| In my project i am using separate 'view' models for displaying
| and editing each diagrams in GraphicalViewer. Now i want to store all
| the contents in XML format.
|
| I have few doubts about model,
| 1. Can i use the same 'view' models for saving?( I create separate
| models for each editparts.)
| 2. Can you explain the usage of view and business models?.
| 3. Each diagram have separate business models or it is common for all
| diagrams?.
|
| thanks
| Pushparaj.
|
|
|

what is a business model though? If you are creating a graphical
program, then you will find that the closest thing will be the
EditPartPolicy classes that tell your edit parts how to interact with
eclipse. In a graphical program, change comes graphically and not su
much through "business" methods. Their is no button called "Calc
mortgage" whose method you can put into a class.

I think the "business model" architecture does now fit well in a drawing
program. But better in a push-button and menu driven one.

- --
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAGApUVbJM14DSCi0RAqc5AKD+zX/2Op9rfnuLq66rN0LD9mr6MgCg 1dap
bxxb4byyndC5LYLOEvrHAYg=
=qThB
-----END PGP SIGNATURE-----
Re: doubt about view and business model [message #114573 is a reply to message #114539] Wed, 28 January 2004 22:16 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

A business model is just the data which is useful at deploy/runtime.

"CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
news:bv91ko$23f$1@eclipse.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David Danie wrote:
> | Hi Friends,
> | In my project i am using separate 'view' models for displaying
> | and editing each diagrams in GraphicalViewer. Now i want to store all
> | the contents in XML format.
> |
> | I have few doubts about model,
> | 1. Can i use the same 'view' models for saving?( I create separate
> | models for each editparts.)
> | 2. Can you explain the usage of view and business models?.
> | 3. Each diagram have separate business models or it is common for all
> | diagrams?.
> |
> | thanks
> | Pushparaj.
> |
> |
> |
>
> what is a business model though? If you are creating a graphical
> program, then you will find that the closest thing will be the
> EditPartPolicy classes that tell your edit parts how to interact with
> eclipse. In a graphical program, change comes graphically and not su
> much through "business" methods. Their is no button called "Calc
> mortgage" whose method you can put into a class.
>
> I think the "business model" architecture does now fit well in a drawing
> program. But better in a push-button and menu driven one.
>
> - --
> Respectfully,
>
>
> CL Gilbert
>
> "Verily, verily, I say unto you, He that entereth not by the door() into
> the sheepfold{}, but climbeth up some other *way, the same is a thief
> and a robber." John 10:1
>
> GnuPG Key Fingerprint:
> 82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
>
> For a free Java interface to Freechess.org see
> http://www.rigidsoftware.com/Chess/chess.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFAGApUVbJM14DSCi0RAqc5AKD+zX/2Op9rfnuLq66rN0LD9mr6MgCg 1dap
> bxxb4byyndC5LYLOEvrHAYg=
> =qThB
> -----END PGP SIGNATURE-----
>
Previous Topic:separate view model from business model
Next Topic:Controlling bounds
Goto Forum:
  


Current Time: Sat Aug 31 22:59:21 GMT 2024

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

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

Back to the top