doubt about view and business model [message #114225] |
Wed, 28 January 2004 09:41 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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-----
>
|
|
|
Powered by
FUDForum. Page generated in 0.04009 seconds