Newbie GEF question [message #46957] |
Tue, 03 December 2002 15:52  |
Eclipse User |
|
|
|
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 #48547 is a reply to message #47407] |
Mon, 09 December 2002 10:05  |
Eclipse User |
|
|
|
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
> >
>
|
|
|
Powered by
FUDForum. Page generated in 0.03391 seconds