diff options
author | ptessier | 2012-07-31 09:36:29 +0000 |
---|---|---|
committer | ptessier | 2012-07-31 09:36:29 +0000 |
commit | 90622e106c5d780463bcec2cf578deda2795d8c4 (patch) | |
tree | 52ec5705664aa47a8ef1e88aad5952c014911211 | |
parent | a568f1226d03f175c9c0a8761e0c5685398a0c1b (diff) | |
download | org.eclipse.papyrus-90622e106c5d780463bcec2cf578deda2795d8c4.tar.gz org.eclipse.papyrus-90622e106c5d780463bcec2cf578deda2795d8c4.tar.xz org.eclipse.papyrus-90622e106c5d780463bcec2cf578deda2795d8c4.zip |
330176: [All Diagrams] Papyrus shall enable to display stereotype properties in a dedicated compartment.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=330176
2 files changed, 3 insertions, 11 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/src/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/AppliedStereotypePropertyEditorUtil.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/src/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/AppliedStereotypePropertyEditorUtil.java index f936f2f054a..90f42a38fdd 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/src/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/AppliedStereotypePropertyEditorUtil.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/src/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/AppliedStereotypePropertyEditorUtil.java @@ -82,6 +82,9 @@ public class AppliedStereotypePropertyEditorUtil { if(("Integer".equals(property.getType().getName()))){
return StereotypeUtil.displayPropertyValue(stereotype, property, umlElement, "");
}
+ if(("Boolean".equals(property.getType().getName()))){
+ return StereotypeUtil.displayPropertyValue(stereotype, property, umlElement, "");
+ }
return result;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/generator/AppliedStereotypePropertyGenerator.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/generator/AppliedStereotypePropertyGenerator.java deleted file mode 100644 index bacf9e30a4f..00000000000 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/generator/AppliedStereotypePropertyGenerator.java +++ /dev/null @@ -1,11 +0,0 @@ -package org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.generator;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.xtext.generator.IFileSystemAccess;
-import org.eclipse.xtext.generator.IGenerator;
-
-@SuppressWarnings("all")
-public class AppliedStereotypePropertyGenerator implements IGenerator {
- public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
- }
-}
|