/** @generated */ protected Image getLabelIcon() { EObject parserElement = getParserElement(); if (parserElement == null) { return null; } List<View> views = DiagramEditPartsUtil.findViews(parserElement, getViewer()); for (View view : views) { if (NameLabelIconHelper.showLabelIcon(view)) { return UMLElementTypes.getImage(parserElement.eClass()); } } return null; }
private Image getTypeImage() { return UMLElementTypes.getImage(UMLPackage.eINSTANCE.getPackage_PackagedElement()); }
/** * {@inheritDoc} * * @see * org.eclipse.papyrus.uml.diagram.activity.edit.dialogs.CreateCallActionDialog#getParentImage() */ @Override protected Image getParentImage() { return UMLElementTypes.getImage(UMLPackage.eINSTANCE.getPackage()); }