|
|
Re: object creation policies [message #40398 is a reply to message #40247] |
Wed, 06 November 2002 23:12 |
Vlad Varnica Messages: 546 Registered: July 2009 Location: Milton Keynes - UK |
Senior Member |
|
|
Ozgur Kurt wrote:
> have a look at the answers to my post on 05.11.2002 with title "interaction
> between refreshvisuals, containerEP, layoutEP"
>
> "Dag Rende" <dag.rende@applied.se> wrote in message
> news:aqbcg8$f4f$1@rogue.oti.com...
>
>>Hi!
>>
>>I'm building a specialized UML diagram editor with gef. I like the
>
> intention
>
>>in gef to separate model and view handling.
>>The gef docs says that a ContainerEditPolicy in CONTAINER_ROLE handling
>>model aspects should cooperate with a LayoutEditPolicy in LAYOUT_ROLE
>>handling view aspects.
>>When creating a diagram object, I assume that I let my ContainerEditPolicy
>>create a command that creates the object in my UML repository and have my
>>LayoutEditPolicy create a command to set the figure position for this
>
> object
>
>>in my diagram view.
>>
>>Ok, I implement getCreateCommand in my ContainerEditPolicy to make a model
>>object creator.
>>But how should I set the view object position in my LayoutEditPolicy? I
>>can't find any method call to LayoutEditPolicy that could do this in a
>>natural way.
>>
>>Now I check with the logic editor example, of course, and find that it
>>doesn't follow the gef doc guidelines.
>>The LogicContainerEditPolicy doesn't do anything about model object
>>creation, but LogicXYLayoutEditPolicy.getCreateCommand returns a
>>CreateCommand that handles both view aspects and model aspects.
>>
>>Should I do this too in my tool?
>>
>>Regards,
>>Dag Rende
>>
>>
>>
>>
>
>
>
Hello world !
Enjoy modeling with EclipseUml Free Edition (Omondo company) and use the
best technology such as GEF, EMF, SVG for free.
Cheers,
|
|
|
Re: object creation policies [message #40459 is a reply to message #40398] |
Thu, 07 November 2002 02:27 |
Eclipse User |
|
|
|
Originally posted by: hudsonr.us.eye-bee-em.com
"V.VARNICA" <varnica@omondo.com> wrote in message
news:aqc5n5$u2n$1@rogue.oti.com...
> Ozgur Kurt wrote:
> > have a look at the answers to my post on 05.11.2002 with title
"interaction
> > between refreshvisuals, containerEP, layoutEP"
> >
> > "Dag Rende" <dag.rende@applied.se> wrote in message
> > news:aqbcg8$f4f$1@rogue.oti.com...
> >
> >>Hi!
> >>
> >>I'm building a specialized UML diagram editor with gef. I like the
> >
> > intention
> >
> >>in gef to separate model and view handling.
> >>The gef docs says that a ContainerEditPolicy in CONTAINER_ROLE handling
> >>model aspects should cooperate with a LayoutEditPolicy in LAYOUT_ROLE
> >>handling view aspects.
> >>When creating a diagram object, I assume that I let my
ContainerEditPolicy
> >>create a command that creates the object in my UML repository and have
my
> >>LayoutEditPolicy create a command to set the figure position for this
> >
> > object
> >
> >>in my diagram view.
> >>
> >>Ok, I implement getCreateCommand in my ContainerEditPolicy to make a
model
> >>object creator.
> >>But how should I set the view object position in my LayoutEditPolicy? I
> >>can't find any method call to LayoutEditPolicy that could do this in a
> >>natural way.
> >>
> >>Now I check with the logic editor example, of course, and find that it
> >>doesn't follow the gef doc guidelines.
> >>The LogicContainerEditPolicy doesn't do anything about model object
> >>creation, but LogicXYLayoutEditPolicy.getCreateCommand returns a
> >>CreateCommand that handles both view aspects and model aspects.
> >>
> >>Should I do this too in my tool?
> >>
> >>Regards,
> >>Dag Rende
> >>
> >>
> >>
> >>
> >
> >
> >
> Hello world !
> Enjoy modeling with EclipseUml Free Edition (Omondo company) and use the
> best technology such as GEF, EMF, SVG for free.
> Cheers,
.... and drink more Ovaltine
|
|
|
Re: object creation policies [message #40817 is a reply to message #40398] |
Fri, 08 November 2002 14:29 |
Dag Rende Messages: 17 Registered: July 2009 |
Junior Member |
|
|
I would be interested if it was open source.
/Dag
"V.VARNICA" <varnica@omondo.com> skrev i meddelandet
news:aqc5n5$u2n$1@rogue.oti.com...
> Ozgur Kurt wrote:
> > have a look at the answers to my post on 05.11.2002 with title
"interaction
> > between refreshvisuals, containerEP, layoutEP"
> >
> > "Dag Rende" <dag.rende@applied.se> wrote in message
> > news:aqbcg8$f4f$1@rogue.oti.com...
> >
> >>Hi!
> >>
> >>I'm building a specialized UML diagram editor with gef. I like the
> >
> > intention
> >
> >>in gef to separate model and view handling.
> >>The gef docs says that a ContainerEditPolicy in CONTAINER_ROLE handling
> >>model aspects should cooperate with a LayoutEditPolicy in LAYOUT_ROLE
> >>handling view aspects.
> >>When creating a diagram object, I assume that I let my
ContainerEditPolicy
> >>create a command that creates the object in my UML repository and have
my
> >>LayoutEditPolicy create a command to set the figure position for this
> >
> > object
> >
> >>in my diagram view.
> >>
> >>Ok, I implement getCreateCommand in my ContainerEditPolicy to make a
model
> >>object creator.
> >>But how should I set the view object position in my LayoutEditPolicy? I
> >>can't find any method call to LayoutEditPolicy that could do this in a
> >>natural way.
> >>
> >>Now I check with the logic editor example, of course, and find that it
> >>doesn't follow the gef doc guidelines.
> >>The LogicContainerEditPolicy doesn't do anything about model object
> >>creation, but LogicXYLayoutEditPolicy.getCreateCommand returns a
> >>CreateCommand that handles both view aspects and model aspects.
> >>
> >>Should I do this too in my tool?
> >>
> >>Regards,
> >>Dag Rende
> >>
> >>
> >>
> >>
> >
> >
> >
> Hello world !
> Enjoy modeling with EclipseUml Free Edition (Omondo company) and use the
> best technology such as GEF, EMF, SVG for free.
> Cheers,
>
|
|
|
Powered by
FUDForum. Page generated in 0.02415 seconds