/** * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc * --> * * @non-generated */ public String getText(Object object) { String label = ((SOAPRole) object).getSoapRole(); return label == null || label.length() == 0 ? getString("%_UI_SOAPRole_type") : label; //$NON-NLS-1$ }
/** * This does the same thing as ITableLabelProvider.getColumnText. */ public String getColumnText(Object object, int columnIndex) { SOAPRole soapRole = (SOAPRole) object; return toDisplayString(soapRole.getSoapRole()); }