The Command in GEF & EMF [message #50985] |
Tue, 24 December 2002 11:43  |
Eclipse User |
|
|
|
Originally posted by: eric_to_jeff.hotmail.com
Hi,
I write a program use EMF as model framework & GEF as presentation,
Now the problem is both gef & emf have its undo mechanism, and they have
the same api but does not implements the same interface. How about merge
them? Just like WSAD do!
Regards
Eric Suen
|
|
|
|
|
|
Re: The Command in GEF & EMF [message #51310 is a reply to message #51178] |
Fri, 27 December 2002 11:04   |
Eclipse User |
|
|
|
Randy,
I know of several people that are going to hit this problem soon. It makes
perfect sense to add a GEF view to an EMF editor. Omondo is already doing this
with EclipseUML; they're using EMF.Edit for the outline view, GEF for the
graphical UML view. If they want to make undo/redo work properly, and I'm sure
they will eventually, they'll need GEF and EMF.Edit to share the same command
stack.
How about GEF provide an alternate packaging for EMF users, gef_for_emf.zip, or
something like that, that doesn't include it's own copy of the common command
interfaces, but instead "requires" the EMF ones to be there.
Frank.
Randy Hudson wrote:
> EMF does not require you to use their Command implementation unless you are
> using EMF Edit. I would recommend avoiding EMF Edit.
>
> "Eric Suen" <eric_to_jeff@hotmail.com> wrote in message
> news:aua23r$gkf$1@rogue.oti.com...
> > Hi,
> >
> > I write a program use EMF as model framework & GEF as presentation,
> > Now the problem is both gef & emf have its undo mechanism, and they have
> > the same api but does not implements the same interface. How about merge
> > them? Just like WSAD do!
> >
> > Regards
> >
> > Eric Suen
> >
> >
|
|
|
|
|
Re: The Command in GEF & EMF [message #51706 is a reply to message #51310] |
Mon, 30 December 2002 14:30   |
Eclipse User |
|
|
|
Originally posted by: julien.omondo.com
Hi all,
Frank Budinsky wrote:
> Randy,
> I know of several people that are going to hit this problem soon. It makes
> perfect sense to add a GEF view to an EMF editor. Omondo is already doing
this
> with EclipseUML; they're using EMF.Edit for the outline view, GEF for the
> graphical UML view. If they want to make undo/redo work properly, and I'm
sure
> they will eventually, they'll need GEF and EMF.Edit to share the same command
> stack.
Frank is correct. Right now we didn't support undo/redo on EMF model.
> How about GEF provide an alternate packaging for EMF users, gef_for_emf.zip,
or
> something like that, that doesn't include it's own copy of the common command
> interfaces, but instead "requires" the EMF ones to be there.
> Frank.
That will be very helpful.
Julien
omondo
> Randy Hudson wrote:
> > EMF does not require you to use their Command implementation unless you are
> > using EMF Edit. I would recommend avoiding EMF Edit.
> >
> > "Eric Suen" <eric_to_jeff@hotmail.com> wrote in message
> > news:aua23r$gkf$1@rogue.oti.com...
> > > Hi,
> > >
> > > I write a program use EMF as model framework & GEF as presentation,
> > > Now the problem is both gef & emf have its undo mechanism, and they have
> > > the same api but does not implements the same interface. How about merge
> > > them? Just like WSAD do!
> > >
> > > Regards
> > >
> > > Eric Suen
> > >
> > >
|
|
|
|
|
|
|
Re: The Command in GEF & EMF [message #57126 is a reply to message #56988] |
Wed, 22 January 2003 14:25  |
Eclipse User |
|
|
|
Gunnar,
I agree with you. We are starting to discuss the possibility of moving the
command package to a common eclipse plugin.
Frank.
Gunnar Wagenknecht wrote:
> Hi!
>
> "Frank Budinsky" <frankb@ca.ibm.com> schrieb im Newsbeitrag
> news:3E0C7A28.19F7EDA1@ca.ibm.com...
>
> > How about GEF provide an alternate packaging for EMF users,
> gef_for_emf.zip, or
> > something like that, that doesn't include it's own copy of the common
> command
> > interfaces, but instead "requires" the EMF ones to be there.
>
> Why? How about make a seperate "command" package that can be shared not only
> between GEF and EMF? It can be publicized via an "Eclipse Common Tools"
> page.
>
> It's always the same. There are a lot of good implementations in several
> Eclipse plugins and every plugin copies the code insted of sharing it. It's
> really anoying. Look into CDT and JDT they have complete redundant UI
> packaged which could be really helpfull for other developers.
>
> Cu, Gunnar
|
|
|
Powered by
FUDForum. Page generated in 0.09125 seconds