Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339331

Summary: [templates view] Preview area is not refreshed after template editing
Product: [Eclipse Project] Platform Reporter: Christian Georgi <christian.georgi>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, markus.kell.r, remy.suen
Version: 3.7Keywords: helpwanted
Target Milestone: 3.8 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch for the bug. none

Description Christian Georgi CLA 2011-03-09 04:54:47 EST
Build Identifier: 

In Templates view edit a template through the context menu.  Only change its content.  The template preview in the bottom part of the view does not get refreshed.  One needs to select the template once again the tree to get the correct preview.

Reproducible: Always
Comment 1 Jan Opacki CLA 2011-12-20 17:30:49 EST
Created attachment 208647 [details]
Proposed patch for the bug.

Hi all, sending a proposed patch for the bug - added a call to updatePatternViewer.
Comment 2 Dani Megert CLA 2012-01-09 10:24:57 EST
Thanks for the patch Jan. It points to the right location. I fixed it a little bit different than your patch.

Fixed in master: 489c7638f26995c7d30a71353874443e6a7febb9