}
// @see org.gudy.azureus2.plugins.ui.tables.TableCellRefreshListener#refresh(org.gudy.azureus2.plugins.ui.tables.TableCell)
public void refresh(TableCell cell) {
TranscodeFile tf = (TranscodeFile) cell.getDataSource();
if (tf == null) {
return;
}
TranscodeJob job = tf.getJob();
String tooltip = null;
String text = null;
boolean error = false;
if ( job == null ){
try{
if ( tf.isComplete() && !tf.getTargetFile().getFile().exists()){
tooltip = "File '" + tf.getTargetFile().getFile().getAbsolutePath() + "' not found";
text = js_resources[5] + ": File not found";
error = true;
}
}catch( Throwable e ){
}
if ( text == null ){
if ( tf.isCopyingToDevice() ) {
text = js_resources[11];
} else if ( tf.getCopyToDeviceFails() > 0 ){
text = js_resources[7];
error = true;
}else if ( tf.isTemplate() && !tf.isComplete()){
text = js_resources[8];
}else{