diff options
Diffstat (limited to 'plugins')
3 files changed, 5 insertions, 11 deletions
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF index 4dbfec6ec0e..913bcc780f6 100644 --- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF +++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF @@ -62,7 +62,7 @@ Require-Bundle: org.eclipse.core.databinding.property;bundle-version="[1.8.0,2.0 org.eclipse.papyrus.infra.gmfdiag.properties;bundle-version="5.0.0" Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy;exclude:=org.eclipse.papyrus.uml.properties.constraints -Bundle-Version: 4.1.0.qualifier +Bundle-Version: 4.1.100.qualifier Bundle-ClassPath: . Bundle-Name: %pluginName Bundle-Localization: plugin diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/pom.xml b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/pom.xml index 9e15e10cd3e..29e55786f50 100644 --- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/pom.xml +++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/pom.xml @@ -9,6 +9,6 @@ <version>0.0.1-SNAPSHOT</version> </parent> <artifactId>org.eclipse.papyrus.uml.properties</artifactId> - <version>4.1.0-SNAPSHOT</version> + <version>4.1.100-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project>
\ No newline at end of file diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/StereotypeExplorerDialog.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/StereotypeExplorerDialog.java index ced746e8592..f5283b615b1 100644 --- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/StereotypeExplorerDialog.java +++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/StereotypeExplorerDialog.java @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (c) 2016 CEA LIST. + * Copyright (c) 2016, 2022 CEA LIST. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -10,6 +10,7 @@ * * Contributors: * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation + * Vincent LORENZO (CEA-LIST) vincent.lorenzo@cea.fr - Bug 579917 *****************************************************************************/ package org.eclipse.papyrus.uml.properties.widgets; @@ -251,14 +252,7 @@ public class StereotypeExplorerDialog extends SelectionStatusDialog { if (element instanceof String) { styledString.setStyle(0, text.length(), StyledString.COUNTER_STYLER); - } else if (element instanceof IRegisteredProfile) { - URI uri = resourceSet.getURIConverter().normalize(((IRegisteredProfile) element).getUri()).trimFragment(); - String path = new StringBuilder(" - ")//$NON-NLS-1$ - .append(uri.toPlatformString(true).substring(1)) - .toString(); - styledString.append(path, StyledString.QUALIFIER_STYLER); - - } else if (element instanceof Profile) { + }else if (element instanceof Profile) { URI uri = EcoreUtil.getURI((EObject) element).trimFragment(); String path = new StringBuilder(" - ")//$NON-NLS-1$ .append(uri.toPlatformString(true).substring(1)).toString(); |