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:
Francesco Mangiacrapa 2013-08-30 09:05:08 +00:00
parent 499a3a5f27
commit 7281300f37
2 changed files with 10 additions and 3 deletions

View File

@ -135,6 +135,7 @@ public class AppController implements SubscriberInterface {
return eventBus;
}
private void bind() {
//********EVENTS TO NOTIFY SUBSCRIBERS
@ -1179,7 +1180,11 @@ public class AppController implements SubscriberInterface {
if(fileItem!=null && itemIdentifier!= null && fileItem.getIdentifier().compareTo(itemIdentifier)==0){
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);
}
}

View File

@ -89,8 +89,10 @@ public class GxtToolBarItemAccounting extends ToolBar{
add(btnGetInfo);
add(new SeparatorToolItem());
add(bHistory);
add(new SeparatorToolItem());
add(bRead);
//COMMENTED AT 29/08/2013
// add(new SeparatorToolItem());
// add(bRead);
enableButtons(false);
}