From 293828ba8dce93a992be4007a293602265e505db Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Wed, 5 Mar 2014 17:27:38 +0000 Subject: [PATCH] added special folder .properties git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@92707 82a268e6-3cf1-43bd-a215-b396298e98cf --- .gwt/.gwt-log | 32 +++++++++++++++++++ .../toolbars/GxtToolBarItemFunctionality.java | 4 +-- .../webapp/conf/specialfoldername.properties | 3 ++ src/main/webapp/workspaceportlet.css | 2 +- 4 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 src/main/webapp/conf/specialfoldername.properties diff --git a/.gwt/.gwt-log b/.gwt/.gwt-log index c9a90d5..2c721ad 100644 --- a/.gwt/.gwt-log +++ b/.gwt/.gwt-log @@ -30,3 +30,35 @@ Compiling... Compilation completed in 0.01 seconds Removing invalidated units Finding entry point classes +Public resources found in... +Translatable source found in... +Found 0 cached/archived units. Used 0 / 2719 units from cache. +Compiling... + 30% complete (ETR: 9 seconds) + 30% complete (ETR: 9 seconds) + 30% complete (ETR: 9 seconds) + 30% complete (ETR: 9 seconds) + 40% complete (ETR: 8 seconds) + 50% complete (ETR: 6 seconds) + 60% complete (ETR: 4 seconds) + 70% complete (ETR: 3 seconds) + 80% complete (ETR: 2 seconds) + 90% complete (ETR: 1 seconds) + 100% complete (ETR: 0 seconds) + Compilation completed in 11.39 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes +Public resources found in... +Translatable source found in... +Found 2719 cached/archived units. Used 2719 / 2719 units from cache. +Compiling... + Compilation completed in 0.00 seconds +Removing invalidated units +Finding entry point classes diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemFunctionality.java b/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemFunctionality.java index fb1b10e..17e4463 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemFunctionality.java +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/toolbars/GxtToolBarItemFunctionality.java @@ -664,8 +664,8 @@ public class GxtToolBarItemFunctionality { activeButtons(active); - //HANDLE VRE FOLDER - if(target!=null && target.isVreFolder()){ + //HANDLE VRE FOLDER AND SPECIAL FOLDER + if(target!=null && (target.isVreFolder() || target.isSpecialFolder())){ this.btnRemoveItem.disable(); this.btnRenameItem.disable(); this.btnSetPermission.enable(); diff --git a/src/main/webapp/conf/specialfoldername.properties b/src/main/webapp/conf/specialfoldername.properties new file mode 100644 index 0000000..205d234 --- /dev/null +++ b/src/main/webapp/conf/specialfoldername.properties @@ -0,0 +1,3 @@ +#Property file - Special Folder Name +#2014-05-03 +SPECIALFOLDERNAME=myspecialfolder \ No newline at end of file diff --git a/src/main/webapp/workspaceportlet.css b/src/main/webapp/workspaceportlet.css index 5fb2188..10079bf 100644 --- a/src/main/webapp/workspaceportlet.css +++ b/src/main/webapp/workspaceportlet.css @@ -48,7 +48,7 @@ cursor: hand; margin-right: 5px; margin-right: 3px; - padding-bottom: 1px; + padding: 1px; } .wizardButton[disabled]:hover,.wizardButton[disabled]:active,.wizardButton[disabled]