removed MARK AS READ FROM HL
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@112257 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cf30710734
commit
42c83343b4
|
@ -2600,9 +2600,10 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
|
||||
FileModel file = explorerPanel.getAsycTreePanel().getFileModelByIdentifier(itemId);
|
||||
|
||||
if(file!=null){ //FILE CAN NOT LOADED IN TREE
|
||||
file.setMarkAsRead(bool);
|
||||
}
|
||||
//MARK AS READ WAS REMOVED FROM HL
|
||||
// if(file!=null){ //FILE CAN NOT LOADED IN TREE
|
||||
// file.setMarkAsRead(bool);
|
||||
// }
|
||||
}
|
||||
|
||||
public AsyncCallback<WindowOpenParameter> downloadHandlerCallback = new AsyncCallback<WindowOpenParameter>() {
|
||||
|
|
|
@ -62,7 +62,7 @@ public class FileModel extends BaseModelData implements Serializable {
|
|||
}
|
||||
|
||||
private void initDefaultProperties(){
|
||||
setMarkAsRead(false);
|
||||
// setMarkAsRead(false);
|
||||
setShortcutCategory("");
|
||||
setShareable(true);
|
||||
}
|
||||
|
@ -148,12 +148,13 @@ public class FileModel extends BaseModelData implements Serializable {
|
|||
set(ConstantsExplorer.OWNERFULLNAME, fullName);
|
||||
}
|
||||
|
||||
public void setMarkAsRead(boolean mark){
|
||||
set(ConstantsExplorer.MARKASREAD, mark);
|
||||
}
|
||||
public boolean isMarkAsRead(){
|
||||
return (Boolean) get(ConstantsExplorer.MARKASREAD);
|
||||
}
|
||||
// public void setMarkAsRead(boolean mark){
|
||||
// set(ConstantsExplorer.MARKASREAD, mark);
|
||||
// }
|
||||
|
||||
// public boolean isMarkAsRead(){
|
||||
// return (Boolean) get(ConstantsExplorer.MARKASREAD);
|
||||
// }
|
||||
|
||||
//TODO Accounting
|
||||
|
||||
|
|
Loading…
Reference in New Issue