Skip to main content



      Home
Home » Eclipse Projects » GEF » How the redraw the GEF Editor
How the redraw the GEF Editor [message #164049] Sun, 16 January 2005 17:32 Go to next message
Eclipse UserFriend
Originally posted by: CH_FA.gmx.net

Hello,

i try to redraw the GEF Editor when the model has changed. This should
work when my View with the inner GEF Editor already build up.
Does anybody know how to rebuild the GEF Editor Layout?
Re: How the redraw the GEF Editor [message #164104 is a reply to message #164049] Mon, 17 January 2005 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

In the GEF examples, redrawing will not reflect model changes because the
figures don't have references to the model. Typically, the editpart pushes
updates to the figures, which ask to be repainted automatically.

If you want to repaint your editor, you can do Control.redraw() on the SWT
control

"Christian Farra" <CH_FA@gmx.net> wrote in message
news:cseq1d$hn7$1@www.eclipse.org...
> Hello,
>
> i try to redraw the GEF Editor when the model has changed. This should
> work when my View with the inner GEF Editor already build up. Does anybody
> know how to rebuild the GEF Editor Layout?
>
>
>
Re: How the redraw the GEF Editor [message #164309 is a reply to message #164104] Tue, 18 January 2005 11:29 Go to previous message
Eclipse UserFriend
Originally posted by: CH_FA.gmx.net

Many Thx for the Proposal.

Randy Hudson wrote:

> In the GEF examples, redrawing will not reflect model changes because the
> figures don't have references to the model. Typically, the editpart pushes
> updates to the figures, which ask to be repainted automatically.

> If you want to repaint your editor, you can do Control.redraw() on the SWT
> control

> "Christian Farra" <CH_FA@gmx.net> wrote in message
> news:cseq1d$hn7$1@www.eclipse.org...
>> Hello,
>>
>> i try to redraw the GEF Editor when the model has changed. This should
>> work when my View with the inner GEF Editor already build up. Does anybody
>> know how to rebuild the GEF Editor Layout?
>>
>>
>>
Previous Topic:I need to execute some code when workbench exists
Next Topic:Rich Text Editing & The Caret
Goto Forum:
  


Current Time: Mon Jul 14 02:56:12 EDT 2025

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

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

Back to the top