Skip to main content



      Home
Home » Eclipse Projects » GEF » Newbie GEF question
Newbie GEF question [message #46957] Tue, 03 December 2002 15:52 Go to next message
Eclipse UserFriend
Hi guys,

We are looking to represent complex diagram, that rely on the ability to
drag and drop Java elements (and others) onto the main design area. Could
you setup a three pane editor, two on the left (vertically) and one main
work area on the right? Could you integrate this into one editor?

Also can be have the file (that the editor acts on) either XML or text?
The example seems to be some binary representation of the diagram.

Thanks in advance.
Jon
Re: Newbie GEF question [message #46986 is a reply to message #46957] Tue, 03 December 2002 17:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

yes to all.

"Jon Hatcher" <jon.hatcher@uk.ibm.com> wrote in message
news:asj5ia$9d1$1@rogue.oti.com...
> Hi guys,
>
> We are looking to represent complex diagram, that rely on the ability to
> drag and drop Java elements (and others) onto the main design area. Could
> you setup a three pane editor, two on the left (vertically) and one main
> work area on the right? Could you integrate this into one editor?
>
> Also can be have the file (that the editor acts on) either XML or text?
> The example seems to be some binary representation of the diagram.
>
> Thanks in advance.
> Jon
>
Re: Newbie GEF question [message #47407 is a reply to message #46957] Wed, 04 December 2002 11:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: debeer.ri.silicomp.fr

Jon Hatcher wrote:
> Hi guys,
>
> We are looking to represent complex diagram, that rely on the ability to
> drag and drop Java elements (and others) onto the main design area. Could
> you setup a three pane editor, two on the left (vertically) and one main
> work area on the right? Could you integrate this into one editor?
>
> Also can be have the file (that the editor acts on) either XML or text?
> The example seems to be some binary representation of the diagram.

This is just because it is easier to serialize the complete diagram in
and out. Using XML to serialize the diagram completely out, would
require complicated serialization code. I myself wrote an editor, and on
every save I just serialized the data that was important out in XML. I
only used the serialized data to read the diagram back in, and do not
rely on the XML (Meaning that you can not change the XML by other means,
and use it back in the editor).

Silvia



>
> Thanks in advance.
> Jon
>
Re: Newbie GEF question [message #48547 is a reply to message #47407] Mon, 09 December 2002 10:05 Go to previous message
Eclipse UserFriend
Ok, see what your saying.

We ideally want to serialize the data into XML, and allow the user to modify
the XML independantly of the editor. However, how would we persist layout
values, as this doesn't make sense to persist in the XML.

We could have a dual format, representing the content in the XML, and the
appearance in a flattened object file? This sounds messy to me?

Any advice would be great.
Cheers.
Jon

----- Original Message -----
From: "Silvia de Beer" <debeer@ri.silicomp.fr>
Newsgroups: eclipse.tools.gef
Sent: Wednesday, December 04, 2002 4:22 PM
Subject: Re: Newbie GEF question


>
>
> Jon Hatcher wrote:
> > Hi guys,
> >
> > We are looking to represent complex diagram, that rely on the ability to
> > drag and drop Java elements (and others) onto the main design area.
Could
> > you setup a three pane editor, two on the left (vertically) and one main
> > work area on the right? Could you integrate this into one editor?
> >
> > Also can be have the file (that the editor acts on) either XML or text?
> > The example seems to be some binary representation of the diagram.
>
> This is just because it is easier to serialize the complete diagram in
> and out. Using XML to serialize the diagram completely out, would
> require complicated serialization code. I myself wrote an editor, and on
> every save I just serialized the data that was important out in XML. I
> only used the serialized data to read the diagram back in, and do not
> rely on the XML (Meaning that you can not change the XML by other means,
> and use it back in the editor).
>
> Silvia
>
>
>
> >
> > Thanks in advance.
> > Jon
> >
>

"Silvia de Beer" <debeer@ri.silicomp.fr> wrote in message
news:3DEE2BBD.1000808@ri.silicomp.fr...
>
>
> Jon Hatcher wrote:
> > Hi guys,
> >
> > We are looking to represent complex diagram, that rely on the ability to
> > drag and drop Java elements (and others) onto the main design area.
Could
> > you setup a three pane editor, two on the left (vertically) and one main
> > work area on the right? Could you integrate this into one editor?
> >
> > Also can be have the file (that the editor acts on) either XML or text?
> > The example seems to be some binary representation of the diagram.
>
> This is just because it is easier to serialize the complete diagram in
> and out. Using XML to serialize the diagram completely out, would
> require complicated serialization code. I myself wrote an editor, and on
> every save I just serialized the data that was important out in XML. I
> only used the serialized data to read the diagram back in, and do not
> rely on the XML (Meaning that you can not change the XML by other means,
> and use it back in the editor).
>
> Silvia
>
>
>
> >
> > Thanks in advance.
> > Jon
> >
>
Previous Topic:MarqueeDragTracker request
Next Topic:run GEF
Goto Forum:
  


Current Time: Sun Jul 13 19:22:15 EDT 2025

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

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

Back to the top