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;
|
||||
}
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue