Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2018-05-02 13:47:34 -0400
committerRoland Grunberg2018-08-07 14:15:43 -0400
commit6c6aae6bed242e6de3183a4a53c8851573c91b74 (patch)
tree1e8c1a31ae6ea1ed0d8ef121e6287313e299b524 /org.eclipse.text/src/org/eclipse/text/templates/TextTemplateMessages.properties
parent7c3eb386577f45d62416dbc3509a2c6ff8082f9d (diff)
downloadeclipse.platform.text-6c6aae6bed242e6de3183a4a53c8851573c91b74.tar.gz
eclipse.platform.text-6c6aae6bed242e6de3183a4a53c8851573c91b74.tar.xz
eclipse.platform.text-6c6aae6bed242e6de3183a4a53c8851573c91b74.zip
Bug 535964 - Move some non UI classes from jface.text to o.e.text.Y20180808-2200I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000
- Create TemplateReaderWriter, TemplatePersistenceData, and ContextTypeRegistry in org.eclipse.text which extend the corresponding classes from org.eclipse.jface.text in order the preserve the API for the latter - Make TemplateStore extend a new class TemplateStoreCore which will be located in org.eclipse.text, and contain the non-UI functionality from TemplateStore - Introduce new constructor to the deprecated TemplatePersistenceData, that takes an org.eclipse.text.templates.TemplatePersistenceData and delegates all API calls to it, if the object was constructed in this manner. Otherwise calls are handled by the inheritted class. In some cases, even though we use the new org.eclipse.text.templates.TemplatePersistenceData, the API requires us to return the deprecated version of TemplatePersistenceData. This satisfies the requirement while also ensuring the returned object can be modified by clients (unlike a copy). Change-Id: I4315693c8c557986d922106b7c1325e23de70725 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'org.eclipse.text/src/org/eclipse/text/templates/TextTemplateMessages.properties')
-rw-r--r--org.eclipse.text/src/org/eclipse/text/templates/TextTemplateMessages.properties14
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.text/src/org/eclipse/text/templates/TextTemplateMessages.properties b/org.eclipse.text/src/org/eclipse/text/templates/TextTemplateMessages.properties
new file mode 100644
index 000000000..51e4947ea
--- /dev/null
+++ b/org.eclipse.text/src/org/eclipse/text/templates/TextTemplateMessages.properties
@@ -0,0 +1,14 @@
+###############################################################################
+# Copyright (c) 2000, 2016 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+
+TemplateReaderWriter.duplicate.id= Duplicate template id: ''{0}''
+TemplateReaderWriter.error.missing_attribute= Missing required attribute
+TemplateReaderWriter.error.illegal_boolean_attribute= Illegal boolean attribute, must be "true" or "false".

Back to the top