Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteicher2004-03-30 17:26:30 +0000
committerteicher2004-03-30 17:26:30 +0000
commit3f4d62e3a5456b6943d81ac90fa0f36304ddab3a (patch)
tree19962ee72bda97cef1726af83d6e456e64f43e00 /org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples
parent4b1d62a88ca2ccc23469467db1db50ac448d6221 (diff)
downloadeclipse.platform.text-3f4d62e3a5456b6943d81ac90fa0f36304ddab3a.tar.gz
eclipse.platform.text-3f4d62e3a5456b6943d81ac90fa0f36304ddab3a.tar.xz
eclipse.platform.text-3f4d62e3a5456b6943d81ac90fa0f36304ddab3a.zip
moved java template infrastructure to new persistence model
Diffstat (limited to 'org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples')
-rw-r--r--org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples/templateeditor/editors/TemplateEditorUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples/templateeditor/editors/TemplateEditorUI.java b/org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples/templateeditor/editors/TemplateEditorUI.java
index 2bb49790a..5752826da 100644
--- a/org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples/templateeditor/editors/TemplateEditorUI.java
+++ b/org.eclipse.ui.examples.javaeditor/Template Editor Example/org/eclipse/ui/examples/templateeditor/editors/TemplateEditorUI.java
@@ -52,7 +52,7 @@ public class TemplateEditorUI {
*/
public TemplateStore getTemplateStore() {
if (fStore == null) {
- fStore= new TemplateStore(JavaEditorExamplePlugin.getDefault().getPreferenceStore(), CUSTOM_TEMPLATES_KEY);
+ fStore= new TemplateStore(getContextTypeRegistry(), JavaEditorExamplePlugin.getDefault().getPreferenceStore(), CUSTOM_TEMPLATES_KEY);
try {
fStore.load();
} catch (IOException e) {

Back to the top