Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
authorJohn Arthorne2009-02-10 17:04:58 +0000
committerJohn Arthorne2009-02-10 17:04:58 +0000
commitd050bb877b081715841b0a4eb49be44ccbaa81fe (patch)
treebe21699ba799a96c0e9a33187a18d7c160d8c621 /update
parentf738fe2dfff3ff2b4e39d3f45737c955c3923796 (diff)
downloadeclipse.platform-d050bb877b081715841b0a4eb49be44ccbaa81fe.tar.gz
eclipse.platform-d050bb877b081715841b0a4eb49be44ccbaa81fe.tar.xz
eclipse.platform-d050bb877b081715841b0a4eb49be44ccbaa81fe.zip
Bug 264030 [IDE] Platform UI refrences update.configurator
Diffstat (limited to 'update')
-rw-r--r--update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/FeatureEntry.java6
-rw-r--r--update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/branding/IBundleGroupConstants.java18
2 files changed, 22 insertions, 2 deletions
diff --git a/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/FeatureEntry.java b/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/FeatureEntry.java
index 35098eeb7..e4dc1fa8d 100644
--- a/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/FeatureEntry.java
+++ b/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/FeatureEntry.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2009 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
@@ -249,6 +249,10 @@ public class FeatureEntry
return branding.getWelcomePageURL() == null ? null : branding.getWelcomePageURL().toExternalForm();
else if (key.equals(WELCOME_PERSPECTIVE))
return branding.getWelcomePerspectiveId();
+ else if (key.equals(FEATURE_PLUGIN_ID))
+ return pluginIdentifier;
+ else if (key.equals(FEATURE_PLUGIN_VERSION))
+ return pluginVersion;
// IProductConstants
else if (key.equals(APP_NAME))
return branding.getAppName();
diff --git a/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/branding/IBundleGroupConstants.java b/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/branding/IBundleGroupConstants.java
index 4dffe402b..1f24b3b35 100644
--- a/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/branding/IBundleGroupConstants.java
+++ b/update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/branding/IBundleGroupConstants.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2005 IBM Corporation and others.
+ * Copyright (c) 2004, 2009 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
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.update.internal.configurator.branding;
+import org.eclipse.update.configurator.IPlatformConfiguration.IFeatureEntry;
+
/**
* These constants define the set of properties that the UI expects to
* be available via <code>IBundleGroup.getProperty(String)</code>.
@@ -46,4 +48,18 @@ public interface IBundleGroupConstants {
* (optional).
*/
public static final String LICENSE_HREF = "licenseHref"; //$NON-NLS-1$
+
+ /**
+ * The id of the feature branding bundle.
+ * @see IFeatureEntry#getFeaturePluginIdentifier()
+ * @since 3.3
+ */
+ public static final String FEATURE_PLUGIN_ID= "featurePluginId"; //$NON-NLS-1$
+
+ /**
+ * The version of the feature branding bundle.
+ * @see IFeatureEntry#getFeaturePluginVersion()
+ * @since 3.3
+ */
+ public static final String FEATURE_PLUGIN_VERSION= "featurePluginVersion"; //$NON-NLS-1$
}

Back to the top