Project

General

Profile

« Previous | Next » 

Revision 7dd447df

Added by Katja Luther 4 months ago

tooltips for data fields in bulk editor

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorTooltip.java
57 57
        }
58 58
        int colIndex = this.natTable.getColumnIndexByPosition(col);
59 59
        int rowIndex = this.natTable.getRowIndexByPosition(row);
60
        if(rowIndex==0){
60
        if(row==0){
61 61
            return colHeaderDataProvider.getDataValue(colIndex, rowIndex).toString();
62 62
        }
63
        return ""; //$NON-NLS-1$
63
        return natTable.getCellByPosition(col, row).getDataValue().toString();
64

  
64 65
    }
65 66

  
66 67
    @Override
......
81 82
        }
82 83

  
83 84
        int rowIndex = this.natTable.getRowIndexByPosition(row);
84
        if(rowIndex==0 && col>0){
85
            return true;
85
        if(row ==0 || col == 0){
86
            return false;
86 87
        }
87
        return false;
88
        return true;
88 89
    }
89 90

  
90 91
}

Also available in: Unified diff