Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2018-09-24 12:34:21 +0000
committervincent lorenzo2018-09-25 14:04:48 +0000
commitb1374f47fafe0586849ee976dcdfb5d7393893a3 (patch)
tree46ec709ac21ef0ec05d00f2ba614bc781db52db8 /plugins/uml
parent8cecd76dc09d03a13f583cb3e88077ef4cc49b32 (diff)
downloadorg.eclipse.papyrus-b1374f47fafe0586849ee976dcdfb5d7393893a3.tar.gz
org.eclipse.papyrus-b1374f47fafe0586849ee976dcdfb5d7393893a3.tar.xz
org.eclipse.papyrus-b1374f47fafe0586849ee976dcdfb5d7393893a3.zip
Bug 538895 - [Property view] The property view slows down element selection
- Add info about fixed bug, update copyright year - Add missing "since" to deprecation - Move to version 3.4.100 - Restore missing type information (that had been removed by a save-action) Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I78f9ab901862edcd9c01d3ac5b51ae51b49b17ea
Diffstat (limited to 'plugins/uml')
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF2
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/pom.xml4
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/UMLUtil.java13
3 files changed, 10 insertions, 9 deletions
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF
index dfb83e2816a..a22873aca9c 100644
--- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF
@@ -12,7 +12,7 @@ Require-Bundle: org.eclipse.uml2.uml;bundle-version="[5.3.0,6.0.0)";visibility:=
org.eclipse.papyrus.uml.internationalization.utils;bundle-version="[1.0.0,2.0.0)"
Bundle-Vendor: %pluginProvider
Bundle-ActivationPolicy: lazy
-Bundle-Version: 3.4.0.qualifier
+Bundle-Version: 3.4.100.qualifier
Bundle-Localization: plugin
Bundle-Name: %pluginName
Bundle-Activator: org.eclipse.papyrus.uml.tools.utils.Activator
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/pom.xml b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/pom.xml
index 274666d31be..b5d1fbb2e20 100644
--- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/pom.xml
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/pom.xml
@@ -8,7 +8,7 @@
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.papyrus.uml.tools.utils</artifactId>
- <version>3.4.0-SNAPSHOT</version>
+ <version>3.4.100-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<description>This plugin contributes a set of common utils tools for UML</description>
-</project> \ No newline at end of file
+</project>
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/UMLUtil.java b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/UMLUtil.java
index f9a71cf08f6..184e4c29f55 100644
--- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/UMLUtil.java
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/UMLUtil.java
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Copyright (c) 2010, 2015 CEA LIST, Christian W. Damus, and others.
+ * Copyright (c) 2010, 2015, 2018 CEA LIST, Christian W. Damus, and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -13,6 +13,7 @@
* Christian W. Damus (CEA) - bug 444092
* Christian W. Damus - bug 433206
* Christian W. Damus - bug 473148
+ * Ansgar Radermacher - bug 538895
*
*****************************************************************************/
package org.eclipse.papyrus.uml.tools.utils;
@@ -303,9 +304,9 @@ public class UMLUtil {
* Returns all stereotypes matching the given qualified stereotype name, and their sub-stereotypes
* The search is performed in the context of the given UML Element, i.e. the profiles applied
* on the Element's nearest package
- *
- * @deprecated: The performance of this function is bad, if multiple profiles / sub-profiles are
- * applied, e.g. MARTE and SysML.
+ *
+ * @deprecated since 3.4.100: The performance of this function is bad, if multiple
+ * profiles / sub-profiles are applied, e.g. MARTE and SysML
*
* @param umlElement
* @param stereotypeName
@@ -338,7 +339,7 @@ public class UMLUtil {
}
}
- return new LinkedList<>(stereotypes);
+ return new LinkedList<Stereotype>(stereotypes);
}
@@ -387,7 +388,7 @@ public class UMLUtil {
* A collection of all super stereotypes
*/
public static Collection<Stereotype> getAllSuperStereotypes(Stereotype stereotype) {
- Set<Stereotype> result = new HashSet<>();
+ Set<Stereotype> result = new HashSet<Stereotype>();
if (stereotype != null) {
getAllSuperStereotypes(stereotype, result);
}

Back to the top