Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@94896 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
665462b168
commit
b7b0dfd1cb
|
@ -128,7 +128,7 @@ public class HistoryPanel extends FramedPanel {
|
|||
Log.debug("Button RollBack Pressed");
|
||||
Context c = event.getContext();
|
||||
int rowIndex = c.getIndex();
|
||||
startReplaceEntry(rowIndex);
|
||||
startSearchRollBackId(rowIndex);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -138,6 +138,7 @@ public class HistoryPanel extends FramedPanel {
|
|||
l.add(expander);
|
||||
l.add(nameCol);
|
||||
l.add(dateCol);
|
||||
l.add(rollBackColumn);
|
||||
|
||||
ColumnModel<OpHistory> cm = new ColumnModel<OpHistory>(l);
|
||||
|
||||
|
@ -192,7 +193,7 @@ public class HistoryPanel extends FramedPanel {
|
|||
|
||||
}
|
||||
|
||||
protected void startReplaceEntry(int rowIndex) {
|
||||
protected void startSearchRollBackId(int rowIndex) {
|
||||
currentRowIndex = rowIndex;
|
||||
currentOpHistory = store.get(rowIndex);
|
||||
Log.debug(currentOpHistory.toString() + " was clicked.[rowIndex="
|
||||
|
|
Loading…
Reference in New Issue