Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Update/close a View
Update/close a View [message #97830] Sat, 12 July 2008 08:29 Go to next message
Eclipse UserFriend
Originally posted by: rglorius.web.de

Hello,

i've tried to actualize my Views. They extends from a ViewPart.

The refresh methods only worked on a TreeViewer or a TableViewer. But my
Views only based on the layoutmanagers with different data. I've used
actions the change the date at my backend. Now I want to actualize my
Views with the new data.

Is it also possible to close a View and to reopen it? Or is there amethod
to updat the hole View like the createPartControl?

thanks, Rob
Re: Update/close a View [message #98004 is a reply to message #97830] Mon, 14 July 2008 14:45 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Rob,

you may just extract and re-use the code that initially sets data on
the widgets.
For more complex scenario there is also JFace Data Binding available.
Re-creating all widgets or re-opening the view is certainly not a
good way. Among may downsides, just think of all the flickering.

Cheers,
Rüdiger

Rob wrote:
> Hello,
>
> i've tried to actualize my Views. They extends from a ViewPart.
>
> The refresh methods only worked on a TreeViewer or a TableViewer. But my
> Views only based on the layoutmanagers with different data. I've used
> actions the change the date at my backend. Now I want to actualize my
> Views with the new data.
> Is it also possible to close a View and to reopen it? Or is there
> amethod to updat the hole View like the createPartControl?
>
> thanks, Rob
Previous Topic:About IStructuredSelection's methods
Next Topic:Help with creating a facade plugin for RAP/RCP
Goto Forum:
  


Current Time: Fri Apr 26 17:21:04 GMT 2024

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

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

Back to the top