Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2016-05-23 13:17:50 -0400
committerFred Bricon2016-05-23 13:17:50 -0400
commit96a66b7e427e4926cfc747c7c98da92497186871 (patch)
treeb9be997ac37dbad04a7a0a4c16f936bd602f7e6d
parentc4fcfe7fad8fb709bbc6a4ba774a85be9872767b (diff)
downloadm2e-core-96a66b7e427e4926cfc747c7c98da92497186871.tar.gz
m2e-core-96a66b7e427e4926cfc747c7c98da92497186871.tar.xz
m2e-core-96a66b7e427e4926cfc747c7c98da92497186871.zip
494308 : preselect overridden property value
Change-Id: I194ef3d9e1d6ca9cb39cdd2fb74fbc885ecd45fa Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomTemplateContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomTemplateContext.java b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomTemplateContext.java
index ddcf78ad..4e33cfa0 100644
--- a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomTemplateContext.java
+++ b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomTemplateContext.java
@@ -145,7 +145,7 @@ public enum PomTemplateContext {
if(!name.startsWith(prefix))
continue;
- String template = "<" + name + ">${cursor}" + value + "</" + name + ">"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ String template = "<" + name + ">${" + value + "}</" + name + ">"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
String desc = NLS.bind(Messages.PomTemplateContext_property_override, value);
templates.add(new PomTemplate(name, desc, getContextTypeId(), template, false).image(MvnImages.IMG_PROPERTY)
.relevance(2000));

Back to the top