Read operation is disabled
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@80953 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
499a3a5f27
commit
7281300f37
|
@ -135,6 +135,7 @@ public class AppController implements SubscriberInterface {
|
||||||
return eventBus;
|
return eventBus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void bind() {
|
private void bind() {
|
||||||
|
|
||||||
//********EVENTS TO NOTIFY SUBSCRIBERS
|
//********EVENTS TO NOTIFY SUBSCRIBERS
|
||||||
|
@ -1179,7 +1180,11 @@ public class AppController implements SubscriberInterface {
|
||||||
|
|
||||||
if(fileItem!=null && itemIdentifier!= null && fileItem.getIdentifier().compareTo(itemIdentifier)==0){
|
if(fileItem!=null && itemIdentifier!= null && fileItem.getIdentifier().compareTo(itemIdentifier)==0){
|
||||||
fileItem.setMarkAsRead(true);
|
fileItem.setMarkAsRead(true);
|
||||||
accountingSetItemAsRead(true);
|
|
||||||
|
//SET ICON AS READ IF ITEM IS SELECETED IN THE GRID
|
||||||
|
FileGridModel fileSelected = getGridSelectedItem();
|
||||||
|
if(fileSelected!=null && fileSelected.getIdentifier().compareTo(itemIdentifier)==0)
|
||||||
|
accountingSetItemAsRead(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,8 +89,10 @@ public class GxtToolBarItemAccounting extends ToolBar{
|
||||||
add(btnGetInfo);
|
add(btnGetInfo);
|
||||||
add(new SeparatorToolItem());
|
add(new SeparatorToolItem());
|
||||||
add(bHistory);
|
add(bHistory);
|
||||||
add(new SeparatorToolItem());
|
|
||||||
add(bRead);
|
//COMMENTED AT 29/08/2013
|
||||||
|
// add(new SeparatorToolItem());
|
||||||
|
// add(bRead);
|
||||||
|
|
||||||
enableButtons(false);
|
enableButtons(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue