diff --git a/bundles/org.eclipse.passage.lic.licenses.edit/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lic.licenses.edit/META-INF/MANIFEST.MF index 8db67a9d1..989852c48 100644 --- a/bundles/org.eclipse.passage.lic.licenses.edit/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.passage.lic.licenses.edit/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Automatic-Module-Name: org.eclipse.passage.lic.licenses.edit Bundle-ManifestVersion: 2 Bundle-SymbolicName: org.eclipse.passage.lic.licenses.edit;singleton:=true -Bundle-Version: 2.1.0.qualifier +Bundle-Version: 2.1.100.qualifier Bundle-Name: %pluginName Bundle-Vendor: %providerName Bundle-Copyright: %Bundle-Copyright diff --git a/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/AgreementDataItemProvider.java b/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/AgreementDataItemProvider.java index 1a1b3f151..d42f50b6e 100644 --- a/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/AgreementDataItemProvider.java +++ b/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/AgreementDataItemProvider.java @@ -12,6 +12,8 @@ *******************************************************************************/ package org.eclipse.passage.lic.licenses.edit.providers; +import java.net.MalformedURLException; +import java.net.URL; import java.util.Collection; import java.util.List; @@ -193,8 +195,12 @@ protected void addContentTypePropertyDescriptor(Object object) { */ @Override public Object getImage(Object object) { - return overlayImage(object, - getResourceLocator().getImage("../org.eclipse.passage.lic.agreements.edit/full/obj16/agreement.png")); //$NON-NLS-1$ + try { + return overlayImage(object, + new URL("platform:/plugin/org.eclipse.passage.lic.agreements.edit/full/obj16/agreement.png")); //$NON-NLS-1$ + } catch (MalformedURLException e) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/license.png")); //$NON-NLS-1$ + } } /**