diff options
author | Chris Goldthorpe | 2010-09-20 20:20:10 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2010-09-20 20:20:10 +0000 |
commit | b50abbbba749deee3fbe4cbab0c47426b46b083b (patch) | |
tree | 506d252ace6dc6c6a1b96f04fd4a6612e2804205 /org.eclipse.ui.intro | |
parent | 8b20a1d8922ea404428e0ba98b0cc8cdb9c3c71f (diff) | |
download | eclipse.platform.ua-b50abbbba749deee3fbe4cbab0c47426b46b083b.tar.gz eclipse.platform.ua-b50abbbba749deee3fbe4cbab0c47426b46b083b.tar.xz eclipse.platform.ua-b50abbbba749deee3fbe4cbab0c47426b46b083b.zip |
Diffstat (limited to 'org.eclipse.ui.intro')
-rw-r--r-- | org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroElement.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroElement.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroElement.java index 0f62b02c2..a34abd3f4 100644 --- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroElement.java +++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroElement.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2006 IBM Corporation and others. + * Copyright (c) 2004, 2010 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 @@ -273,10 +273,14 @@ public abstract class AbstractIntroElement implements Cloneable { if (element.hasAttribute(att)) { String value = element.getAttribute(att); if (value!=null) { - IntroModelRoot root = getModelRoot(); - if (root!=null) - value = root.resolveVariables(value); - return StringUtil.split(value, ","); //$NON-NLS-1$ + String[] splitValues = StringUtil.split(value, ","); //$NON-NLS-1$ + IntroModelRoot root = getModelRoot(); + if (root!=null) { + for (int i = 0; i < splitValues.length; i++) { + splitValues[i] = root.resolveVariables(splitValues[i]); + } + } + return splitValues; } } /* |