Bug 252672 - add support for programatically refreshing a focused viewer
Summary: add support for programatically refreshing a focused viewer
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Shawn Minto CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-10-29 16:18 EDT by Shawn Minto CLA
Modified: 2008-12-06 18:38 EST (History)
2 users (show)

See Also:


Attachments
patch (970 bytes, patch)
2008-10-29 16:20 EDT, Shawn Minto CLA
no flags Details | Diff
mylyn/context/zip (1.16 KB, application/octet-stream)
2008-10-29 16:20 EDT, Shawn Minto CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Minto CLA 2008-10-29 16:18:58 EDT
FocusedViewerManager has the ability to force a refresh of all viewers programatically.  It would be nice to have a way to refresh a single viewer (refreshViewer) so that clients who want to trigger a refresh can do so without copied code for the management of the expansion state, therefore having the same behavior as mylyn.
Comment 1 Shawn Minto CLA 2008-10-29 16:20:41 EDT
Created attachment 116470 [details]
patch

Here is a patch that opens the visibility on the refreshViewer method so that it can be used by clients.
Comment 2 Shawn Minto CLA 2008-10-29 16:20:43 EDT
Created attachment 116471 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2008-12-06 18:38:08 EST
Patch applied. Thanks Shawn.