Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Gmf background image
Gmf background image [message #67461] Mon, 23 October 2006 07:46 Go to next message
Eclipse UserFriend
Originally posted by: matroska.libero.it

Hi,

i really need a way to put an image as graphical editor background but i
don't know where i have to start to modify code.
Can you help me?

Thanks in advance
Tobia Loschiavo
Re: Gmf background image [message #68132 is a reply to message #67461] Mon, 23 October 2006 18:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rbbnjmn.yahoo.com

Try overriding
protected IFigure createFigure()

in your root edit part ?



Roy

"John Slave" <matroska@libero.it> wrote in message
news:ehhs08$5q0$2@utils.eclipse.org...
> Hi,
>
> i really need a way to put an image as graphical editor background but i
> don't know where i have to start to modify code.
> Can you help me?
>
> Thanks in advance
> Tobia Loschiavo
Re: Gmf background image [message #143005 is a reply to message #68132] Tue, 17 July 2007 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daan666.gmx.net

Hi,

can anyone confirm, that overriding works?
or has anyone build in a background image in other ways? i tried the
different solutions i found here and no one works...

thanks for an answer...

daniel

rbbnjmn wrote:
> Try overriding
> protected IFigure createFigure()
>
> in your root edit part ?
>
>
>
> Roy
>
> "John Slave" <matroska@libero.it> wrote in message
> news:ehhs08$5q0$2@utils.eclipse.org...
>> Hi,
>>
>> i really need a way to put an image as graphical editor background but i
>> don't know where i have to start to modify code.
>> Can you help me?
>>
>> Thanks in advance
>> Tobia Loschiavo
>
>
Re: Gmf background image [message #143034 is a reply to message #143005] Tue, 17 July 2007 13:18 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

TaiPan sample project adds custom figure to the diagram background; you
could follow the idea; have a look at AquatoryEditPart.

daan wrote:
> Hi,
>
> can anyone confirm, that overriding works?
> or has anyone build in a background image in other ways? i tried the
> different solutions i found here and no one works...
>
> thanks for an answer...
>
> daniel
>
> rbbnjmn wrote:
>> Try overriding
>> protected IFigure createFigure()
>>
>> in your root edit part ?
>>
>>
>>
>> Roy
>>
>> "John Slave" <matroska@libero.it> wrote in message
>> news:ehhs08$5q0$2@utils.eclipse.org...
>>> Hi,
>>>
>>> i really need a way to put an image as graphical editor background but i
>>> don't know where i have to start to modify code.
>>> Can you help me?
>>>
>>> Thanks in advance
>>> Tobia Loschiavo
>>
Previous Topic:Mapping or implementation by hand in case of drawing referenced parts.
Next Topic:Why does the *DocumentProvider does not reload changed resources?
Goto Forum:
  


Current Time: Wed Apr 24 15:59:29 GMT 2024

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

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

Back to the top