Open eclipse-uml2-bot opened 6 hours ago
By Kenn Hussey on Mar 07, 2017 12:55
Yeah, by default EMF doesn't create icons for abstract classes because they aren't needed in any of the tooling it generates (e.g., the sample editor). In practice, most tools built on UML2 either supplement the generated icons with additional icons and images as needed or otherwise replace them entirely with a different (and more complete) set of icons and images...
By Benoit Maggi on Mar 28, 2017 11:52
I think it's a very interesting suggestion.
In fact there are many places in Papyrus where we find this kind of problem.\ The default generated models or frameworks in Papyrus will always look by default in UML2 (even for abstract elements) for images.
In many case we can branch on the correct Papyrus image, but it would be nicer to have theme provided by UML2 following the same pattern.
I don't see any issue in taking all of the abstract icon we have in Papyrus and move them in UML2 code.
By Kenn Hussey on Oct 27, 2017 09:48
Benoit, if you're willing/able to donate the icons, I can look at adding them as part of the UML2 5.4.0 (for Photon).
By Benoit Maggi on Oct 30, 2017 04:49
I will ask to the team, if they are aware of already existing icons (and their locations).
So far I only found Classifier.\ org.eclipse.papyrus/plugins/uml/org.eclipse.papyrus.uml.service.types/icons/Classifier.gif
Here is the missing list:
Action\ ActivityEdge\ ActivityGroup\ ActivityNode\ Behavior\ BehavioralFeature\ BehavioredClassifier\ CallAction\ Classifier\ ConnectableElement\ ControlNode\ DeployedArtifact\ DeploymentTarget\ DirectedRelationship\ Element\ EncapsulatedClassifier\ Event\ ExecutableNode\ ExecutionSpecification\ Feature\ FinalNode\ InteractionFragment\ InvocationAction\ LinkAction\ LiteralSpecification\ MessageEnd\ MessageEvent\ MultiplicityElement\ NamedElement\ Namespace\ ObjectNode\ Observation\ PackageableElement\ ParameterableElement\ RedefinableElement\ Relationship\ StructuralFeature\ StructuralFeatureAction\ StructuredClassifier\ TemplateableElement\ Type\ TypedElement\ ValueSpecification\ VariableAction\ Vertex\ WriteLinkAction\ WriteStructuralFeatureAction\ WriteVariableAction
| --- | --- | | Bugzilla Link | 513241 | | Status | NEW | | Importance | P3 enhancement | | Reported | Mar 07, 2017 08:35 EDT | | Modified | Dec 19, 2017 08:05 EDT | | Blocks | 440442 | | Reporter | Vincent Lorenzo |
Description
Created attachment 267139\ Illustration of missing Icon in a Papyrus Dialog
There is no icon defined for UML abstract Metaclass. \ The Papyrus "Import Metaclass" dialog will be nicer with icon displayed for all UML element.
MetaclassIconNotDefined.PNG