Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2018-08-17 14:14:09 -0400
committerLars Vogel2018-09-07 03:08:47 -0400
commitf48c8fc3b0bc80f01d45d51ad62d31851805005a (patch)
treea1a769b1fa78f5fc9f3ee52c8650e2c3e4c1c74b /org.eclipse.ui.workbench.texteditor
parent2e5858cc10f982136302063d69822382180c6384 (diff)
downloadeclipse.platform.text-f48c8fc3b0bc80f01d45d51ad62d31851805005a.tar.gz
eclipse.platform.text-f48c8fc3b0bc80f01d45d51ad62d31851805005a.tar.xz
eclipse.platform.text-f48c8fc3b0bc80f01d45d51ad62d31851805005a.zip
Bug 535964 - Use new API of TemplatePersistenceData, TemplateReaderWriter.
- Use TemplatePersistenceData, TemplateReaderWriter from org.eclipse.text and not from the deprecated org.eclispe.jface.text bundle. Change-Id: I022ec34437046a011e9c211cc7071a0af1dfc092 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java5
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesTransfer.java2
2 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
index 08bdcc637..2d93bbb6f 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
@@ -65,6 +65,9 @@ import org.eclipse.core.expressions.Expression;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.text.templates.TemplatePersistenceData;
+import org.eclipse.text.templates.TemplateReaderWriter;
+
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.GroupMarker;
import org.eclipse.jface.action.IAction;
@@ -108,8 +111,6 @@ import org.eclipse.jface.text.templates.ContextTypeRegistry;
import org.eclipse.jface.text.templates.Template;
import org.eclipse.jface.text.templates.TemplateContextType;
import org.eclipse.jface.text.templates.TemplateException;
-import org.eclipse.jface.text.templates.persistence.TemplatePersistenceData;
-import org.eclipse.jface.text.templates.persistence.TemplateReaderWriter;
import org.eclipse.jface.text.templates.persistence.TemplateStore;
import org.eclipse.ui.ActiveShellExpression;
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesTransfer.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesTransfer.java
index 7babdf848..a8edbdc39 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesTransfer.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesTransfer.java
@@ -16,7 +16,7 @@ package org.eclipse.ui.texteditor.templates;
import org.eclipse.swt.dnd.ByteArrayTransfer;
import org.eclipse.swt.dnd.TransferData;
-import org.eclipse.jface.text.templates.persistence.TemplatePersistenceData;
+import org.eclipse.text.templates.TemplatePersistenceData;
/**

Back to the top