Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 208647 Details for
Bug 339331
[templates view] Preview area is not refreshed after template editing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed patch for the bug.
TemplatesPreviewRefresh (text/plain), 1.01 KB, created by
Jan Opacki
on 2011-12-20 17:30:49 EST
(
hide
)
Description:
Proposed patch for the bug.
Filename:
MIME Type:
Creator:
Jan Opacki
Created:
2011-12-20 17:30:49 EST
Size:
1.01 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench.texteditor >Index: src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java,v >retrieving revision 1.21 >diff -u -r1.21 AbstractTemplatesPage.java >--- src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java 3 Dec 2009 14:11:06 -0000 1.21 >+++ src/org/eclipse/ui/texteditor/templates/AbstractTemplatesPage.java 20 Dec 2011 22:09:56 -0000 >@@ -1346,7 +1346,9 @@ > refresh(); > fTreeViewer.setSelection(new StructuredSelection(templateData), true); > } else { >- getSelectedTemplates()[0].setTemplate(newTemplate); >+ TemplatePersistenceData selectedTemplate = getSelectedTemplates()[0]; >+ selectedTemplate.setTemplate(newTemplate); >+ updatePatternViewer(selectedTemplate.getTemplate()); > } > } > saveTemplateStore();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 339331
: 208647