private static String getLargeIcon(PortComponent portComponent, boolean isJ2EE14, boolean lang) { String ret = null; if (isJ2EE14) { IconType iconType = portComponent.getIconType(); if (iconType!=null) { if (lang) { ret = iconType.getLang(); } else { ret = iconType.getLargeIcon(); } } } else //must be J2EE 1.3 (JSR-109 1.0) { if ( !lang ) { ret = portComponent.getLargeIcon(); } } return ret; }
private static String getSmallIcon(WebServiceDescription webServicesDescription, boolean isJ2EE14, boolean lang) { String ret = null; if (isJ2EE14) { IconType iconType = webServicesDescription.getIconType(); if (iconType!=null) { if (lang) { ret = iconType.getLang(); } else { ret = iconType.getSmallIcon(); } } } else //must be J2EE 1.3 (JSR-109 1.0) { if( !lang) { ret = webServicesDescription.getSmallIcon(); } } return ret; }
private static String getLargeIcon(WebServiceDescription webServicesDescription, boolean isJ2EE14, boolean lang) { String ret = null; if (isJ2EE14) { IconType iconType = webServicesDescription.getIconType(); if (iconType!=null) { if (lang) { ret = iconType.getLang(); } else { ret = iconType.getLargeIcon(); } } } else //must be J2EE 1.3 (JSR-109 1.0) { if( !lang ) { ret = webServicesDescription.getLargeIcon(); } } return ret; }
private static String getSmallIcon(PortComponent portComponent, boolean isJ2EE14, boolean lang) { String ret = null; if (isJ2EE14) { IconType iconType = portComponent.getIconType(); if (iconType!=null) { if (lang) { ret = iconType.getLang(); } else { ret = iconType.getSmallIcon(); } } } else //must be J2EE 1.3 (JSR-109 1.0) { if( !lang ) { ret = portComponent.getSmallIcon(); } } return ret; }
values[i] = ((IconType)icons[i]).getLang();
values[i] = ((IconType)icons[i]).getLang();
values[i] = ((IconType)icons[i]).getLang();
values[i] = ((IconType)icons[i]).getLang();