Community
Participate
Working Groups
Created attachment 267139 [details] 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.
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...
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.
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).
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