Revision 7dd447df
Added by Katja Luther over 2 years ago
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
tooltips for data fields in bulk editor