Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Is there or will there be a gef-export to svg?
Is there or will there be a gef-export to svg? [message #238624] Mon, 24 September 2007 14:49 Go to next message
Alexander Haag is currently offline Alexander HaagFriend
Messages: 119
Registered: July 2009
Senior Member
Hi at all,

I have a gef-editor and i am trying to export my figures to a svg-file.
I read all the newsgroup-entries, but no one has ever posted a solution
to this. I know that there are some examples for swing, but none for
swt/draw2d.

Does anyone know how to achieve svg-export?
or
Has anyone got some code-snippets for this?
or
Is there a library or project I could use for this?

Any Help kindly appreciated
Alex Haag
Re: Is there or will there be a gef-export to svg? [message #238673 is a reply to message #238624] Wed, 26 September 2007 15:01 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Alex,

GMF has export to SVG. You can review their code for some help.

Cheers...
Anthony

"Alex Haag" <Alexander.haag@esg.de> wrote in message
news:fd8ipm$1g7$1@build.eclipse.org...
> Hi at all,
>
> I have a gef-editor and i am trying to export my figures to a svg-file.
> I read all the newsgroup-entries, but no one has ever posted a solution
> to this. I know that there are some examples for swing, but none for
> swt/draw2d.
>
> Does anyone know how to achieve svg-export?
> or
> Has anyone got some code-snippets for this?
> or
> Is there a library or project I could use for this?
>
> Any Help kindly appreciated
> Alex Haag
Re: Is there or will there be a gef-export to svg? [message #239953 is a reply to message #238673] Mon, 26 November 2007 14:48 Go to previous messageGo to next message
marco is currently offline marcoFriend
Messages: 14
Registered: July 2009
Junior Member
Hi all ...
does anybody know an import/export method to/from svg file ?

I need to save the gef-editor content into a db, and subsequently i need
to recreate it.

thanks for any suggestion
bye
marco

Anthony Hunter ha scritto:
> Hi Alex,
>
> GMF has export to SVG. You can review their code for some help.
>
> Cheers...
> Anthony
>
> "Alex Haag" <Alexander.haag@esg.de> wrote in message
> news:fd8ipm$1g7$1@build.eclipse.org...
>> Hi at all,
>>
>> I have a gef-editor and i am trying to export my figures to a svg-file.
>> I read all the newsgroup-entries, but no one has ever posted a solution
>> to this. I know that there are some examples for swing, but none for
>> swt/draw2d.
>>
>> Does anyone know how to achieve svg-export?
>> or
>> Has anyone got some code-snippets for this?
>> or
>> Is there a library or project I could use for this?
>>
>> Any Help kindly appreciated
>> Alex Haag
>
>
Re: Is there or will there be a gef-export to svg? [message #239983 is a reply to message #239953] Wed, 28 November 2007 07:36 Go to previous message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
In the GMF project, the class GraphicsSVG can be used to create an SVG
DOM from a draw2D Figure. This should help you to perform the export phasis.

Jacques

marco a écrit :
> Hi all ...
> does anybody know an import/export method to/from svg file ?
>
> I need to save the gef-editor content into a db, and subsequently i need
> to recreate it.
>
> thanks for any suggestion
> bye
> marco
>
> Anthony Hunter ha scritto:
>> Hi Alex,
>>
>> GMF has export to SVG. You can review their code for some help.
>>
>> Cheers...
>> Anthony
>>
>> "Alex Haag" <Alexander.haag@esg.de> wrote in message
>> news:fd8ipm$1g7$1@build.eclipse.org...
>>> Hi at all,
>>>
>>> I have a gef-editor and i am trying to export my figures to a svg-file.
>>> I read all the newsgroup-entries, but no one has ever posted a
>>> solution to this. I know that there are some examples for swing, but
>>> none for swt/draw2d.
>>>
>>> Does anyone know how to achieve svg-export?
>>> or
>>> Has anyone got some code-snippets for this?
>>> or
>>> Is there a library or project I could use for this?
>>>
>>> Any Help kindly appreciated
>>> Alex Haag
>>
>>
Previous Topic:Re: zoom in/out and polylineconnection
Next Topic:MouseDoubleClick on a Figure does not work
Goto Forum:
  


Current Time: Thu Apr 25 12:10:07 GMT 2024

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

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

Back to the top