/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Creates an icon with the specified location for this stereotype. * @param stereotype The receiving '<em><b>Stereotype</b></em>' model object. * @param location The location for the new icon. * <!-- end-model-doc --> * @generated NOT */ public static Image createIcon(Stereotype stereotype, String location) { Image icon = stereotype.createIcon(); icon.setLocation(location); return icon; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Creates an icon with the specified format and content for this stereotype. * @param stereotype The receiving '<em><b>Stereotype</b></em>' model object. * @param format The format for the new icon. * @param content The content for the new icon. * <!-- end-model-doc --> * @generated NOT */ public static Image createIcon(Stereotype stereotype, String format, String content) { Image icon = stereotype.createIcon(); icon.setFormat(format); icon.setContent(content); return icon; }