diff options
author | Remi Schnekenburger | 2014-08-01 15:11:50 +0000 |
---|---|---|
committer | Remi Schnekenburger | 2014-08-01 15:11:50 +0000 |
commit | 61d9d0b761a8224d057c8e937547b703b854190c (patch) | |
tree | 0e773c5fc33b4e0088adff04dcbfcbe8e8aae0f6 /plugins | |
parent | c547a566a37d193bdcedd9367f97f8fa6583d27e (diff) | |
download | org.eclipse.papyrus-61d9d0b761a8224d057c8e937547b703b854190c.tar.gz org.eclipse.papyrus-61d9d0b761a8224d057c8e937547b703b854190c.tar.xz org.eclipse.papyrus-61d9d0b761a8224d057c8e937547b703b854190c.zip |
436954: [Model Explorer] Regression bugs when creating properties in a
class
https://bugs.eclipse.org/bugs/show_bug.cgi?id=436954
- fixing default name (restore the Attribute name rather than attribute)
Change-Id: I55d9371cf4f8f468d039af3417aa00b8a96f937c
Signed-off-by: Remi Schnekenburger <remi.schnekenburger@cea.fr>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/NamedElementUtil.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/NamedElementUtil.java b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/NamedElementUtil.java index eafad62be20..2d2a95786e7 100644 --- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/NamedElementUtil.java +++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/NamedElementUtil.java @@ -249,9 +249,11 @@ public class NamedElementUtil { int nextNumber = 1; - // specific value for properties. default name is attribute + // specific value for properties. default name is Attribute. + // Note: That could be set in a specific advice rather than the default initializer. + // Note2: The name of operations / properties could be set by default with a first lower case letter. if ("property".equalsIgnoreCase(base)) { - base = "attribute"; + base = "Attribute"; } for (Object o : contents) { |