[kune-commits] r1491 - in trunk: . img img/icons src/main/java/cc/kune/blogs/client/actions src/main/java/cc/kune/client src/main/java/cc/kune/common/client/tooltip src/main/java/cc/kune/core/client/resources/nav src/main/java/cc/kune/domain src/main/java/cc/kune/gspace/client/options/tools src/main/java/cc/kune/lists/client src/main/java/cc/kune/lists/client/actions src/main/java/cc/kune/lists/server src/main/java/cc/kune/lists/shared src/main/java/cc/kune/tasks/client/actions src/main/webapp/others src/test/java/cc/kune/lists/server
Vicente J. Ruiz Jurado
vjrj_ at ourproject.org
Thu Aug 11 13:40:45 CEST 2011
Author: vjrj_
Date: 2011-08-11 13:40:45 +0200 (Thu, 11 Aug 2011)
New Revision: 1491
Added:
trunk/img/icons/text-small.png
trunk/img/icons/text-small.xcf
trunk/src/main/java/cc/kune/core/client/resources/nav/email.png
trunk/src/main/java/cc/kune/core/client/resources/nav/list.png
trunk/src/main/java/cc/kune/core/client/resources/nav/listadd.png
trunk/src/main/java/cc/kune/core/client/resources/nav/newemail.png
trunk/src/main/java/cc/kune/lists/client/ListsClientTool.java
trunk/src/main/java/cc/kune/lists/client/ListsGinModule.java
trunk/src/main/java/cc/kune/lists/client/ListsGinjector.java
trunk/src/main/java/cc/kune/lists/client/ListsParts.java
trunk/src/main/java/cc/kune/lists/client/actions/
trunk/src/main/java/cc/kune/lists/client/actions/DelListMenuItem.java
trunk/src/main/java/cc/kune/lists/client/actions/DelPostMenuItem.java
trunk/src/main/java/cc/kune/lists/client/actions/GoParentFolderBtn.java
trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java
trunk/src/main/java/cc/kune/lists/client/actions/ListsNewMenu.java
trunk/src/main/java/cc/kune/lists/client/actions/NewListBtn.java
trunk/src/main/java/cc/kune/lists/client/actions/NewListMenuItem.java
trunk/src/main/java/cc/kune/lists/client/actions/NewWaveIconBtn.java
trunk/src/main/java/cc/kune/lists/client/actions/NewWaveMenuItem.java
trunk/src/main/java/cc/kune/lists/client/actions/OpenFolderMenuItem.java
trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java
Removed:
trunk/src/main/java/cc/kune/blogs/client/actions/AbstractOptionsMenu.java
trunk/src/main/java/cc/kune/tasks/client/actions/AbstractOptionsMenu.java
Modified:
trunk/TODO
trunk/TODO_done
trunk/img/icons-base.svg
trunk/src/main/java/cc/kune/blogs/client/actions/BlogsClientActions.java
trunk/src/main/java/cc/kune/client/KuneEntryPoint.java
trunk/src/main/java/cc/kune/client/KuneGinjector.java
trunk/src/main/java/cc/kune/common/client/tooltip/Tooltip.java
trunk/src/main/java/cc/kune/core/client/resources/nav/NavResources.java
trunk/src/main/java/cc/kune/domain/Content.java
trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPresenter.java
trunk/src/main/java/cc/kune/lists/server/ListsServerTool.java
trunk/src/main/java/cc/kune/lists/shared/ListsConstants.java
trunk/src/main/webapp/others/kune-client-actions.xml
trunk/src/test/java/cc/kune/lists/server/ListsServerToolTest.java
Log:
NEW - # 93: List tool
http://kune.ourproject.org/issues/ticket/93
CLOSED - # 88: Create a tasks tool for groups/persons
http://kune.ourproject.org/issues/ticket/88
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/TODO 2011-08-11 11:40:45 UTC (rev 1491)
@@ -12,17 +12,22 @@
nick == assigned to
* SHORT-TERM (URGENT)
-** TODO Wiab EDitor in GSpace
-*** Logged
-**** -Status---
-**** Admins (view plain, create new, participate in all)
-**** Editors (view plain --> create new --> ask for participation)
-**** Viewers (view plain --> ask for participation)
-*** Not logged (view plain wave)
+** TODO Lists tool
+*** title
+*** description!
+*** type
+**** Public
+***** Anyone can read the archives. Anyone can join, but only members can post
+***** In Kune: Viewers: all, Editors: Group members, Admins: Group members
+**** Announcement-only
+***** Anyone can read the archives. Anyone can join, but only managers can post messages.
+***** In Kune: View: all, Editors: view, Admins: r/w
+**** Restricted
+***** People must be invited to join the group and post or read messages. Your group and its archives do not appear in public Google search results or the directory.
+***** In Kune: no
** TODO >> Delete host/room conf in ws.html
** TODO >> kune.properties from cmd line
-** TODO HelloWord with samples of extensions: sitebar, sitebar options menu, siteuseroptions, sn, ...
-** TODO Register of "reserved words" not permitted for groups/users names (in server and in client)
+** TODO HelloWorld with samples of extensions: sitebar, sitebar options menu, siteuseroptions, sn, ...
** WIAB under proxies
https://groups.google.com/group/wave-protocol/browse_thread/thread/202dee4bfdbdeee6
** TODO StateManager #signin while already signed in NPE
Modified: trunk/TODO_done
===================================================================
--- trunk/TODO_done 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/TODO_done 2011-08-11 11:40:45 UTC (rev 1491)
@@ -261,6 +261,28 @@
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
at java.lang.Thread.run(Thread.java:679)
2011-04-27 16:59:01,904 [qtp2042579307-41] ERROR - Wavelet [WaveletName localhost/w+1v66qilgtl2o6E/localhost/conv+root] couldn't be retrieved
+* TODO Wiab EDitor in GSpace :ARCHIVE:
+ :PROPERTIES:
+ :ARCHIVE_TIME: 2011-08-10 mié 21:59
+ :ARCHIVE_FILE: ~/proyectos/dev/kune/trunk/TODO
+ :ARCHIVE_OLPATH: SHORT-TERM (URGENT)
+ :ARCHIVE_CATEGORY: TODO
+ :ARCHIVE_TODO: TODO
+ :END:
+** Logged
+*** -Status---
+*** Admins (view plain, create new, participate in all)
+*** Editors (view plain --> create new --> ask for participation)
+*** Viewers (view plain --> ask for participation)
+** Not logged (view plain wave)
+* TODO Register of "reserved words" not permitted for groups/users names (in server and in client)
+ :PROPERTIES:
+ :ARCHIVE_TIME: 2011-08-10 mié 22:00
+ :ARCHIVE_FILE: ~/proyectos/dev/kune/trunk/TODO
+ :ARCHIVE_OLPATH: SHORT-TERM (URGENT)
+ :ARCHIVE_CATEGORY: TODO
+ :ARCHIVE_TODO: TODO
+ :END:
@@ -275,3 +297,5 @@
+
+
Added: trunk/img/icons/text-small.png
===================================================================
(Binary files differ)
Property changes on: trunk/img/icons/text-small.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/img/icons/text-small.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/img/icons/text-small.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/img/icons-base.svg
===================================================================
--- trunk/img/icons-base.svg 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/img/icons-base.svg 2011-08-11 11:40:45 UTC (rev 1491)
@@ -28,21 +28,23 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="8.540524"
- inkscape:cx="281.33968"
- inkscape:cy="353.04378"
+ inkscape:zoom="5.4453125"
+ inkscape:cx="303.02471"
+ inkscape:cy="213.02648"
inkscape:document-units="px"
inkscape:current-layer="layer1"
- inkscape:window-width="1080"
- inkscape:window-height="973"
+ inkscape:window-width="1078"
+ inkscape:window-height="897"
inkscape:window-x="0"
- inkscape:window-y="21"
- showgrid="false"
+ inkscape:window-y="947"
+ showgrid="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:grid-points="true"
inkscape:guide-points="true"
- inkscape:window-maximized="0">
+ inkscape:window-maximized="0"
+ inkscape:snap-grids="true"
+ inkscape:snap-bbox="true">
<inkscape:grid
empspacing="1"
empopacity="0.4"
@@ -4693,11 +4695,11 @@
<image
sodipodi:absref="/home/vjrj/proyectos/dev/kune/trunk/img/icons/lock_break.png"
xlink:href="icons/lock_break.png"
- width="16"
+ y="450.82797"
+ x="330.84604"
+ id="image2972"
height="16"
- id="image2972"
- x="330.84604"
- y="450.82797" />
+ width="16" />
<use
x="0"
y="0"
@@ -4788,12 +4790,12 @@
<image
sodipodi:absref="/home/vjrj/proyectos/dev/kune/trunk/img/icons/lock_break.png"
xlink:href="icons/lock_break.png"
- transform="scale(-1,1)"
+ y="432.36218"
+ x="-371"
+ id="image3958"
+ height="16"
width="16"
- height="16"
- id="image3958"
- x="-371"
- y="432.36218" />
+ transform="scale(-1,1)" />
<g
id="g3962"
transform="translate(-43.509019,-21.462476)">
@@ -5528,5 +5530,320 @@
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAQZJREFU OI1j/P//PwMlgIki3cPDABZsggVTo2r+M/wv+/HrO+/nbx8/f/jyrmtb+8UWbGoZ0WMhc0JQg6SM QL2xpgmDjJAqw/6rGxhOXDnM8ODOm94TU56VEPTC1x+fyw009Bn+Mv1l0Jd0ZfjL+JvBQteKgYGB IRubCzAMeP/lLQcrIw+Dn2YuAwMDA0Ox8ywGZTE9BgYGBg6iDHj78dWPq8+OMXTsTmRgYGBg6NiV yHD31SUGBgaGH0QZ8O//v94Tl44xsDGwMGy+PI2BjZGF4ciFgwwMDAxTsRmAEYgMDAwMFjlSHQwM DFkMDAy8DAwMnxkYGKadmPKsgmgDSAEDnxIpNgAAJ+ZYJkBPdSwAAAAASUVORK5CYII= "
height="16"
width="16" />
+ <rect
+ style="opacity:0.76999996;color:#000000;fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.0625;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3661"
+ width="16"
+ height="16"
+ x="296.93954"
+ y="754.41309" />
+ <image
+ y="761.23108"
+ x="235.11862"
+ id="image3658"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAXpJREFU
+OI2Nk7GOGjEQhn9veAbSXMRV0FEQcdfQ8BQ810lQ8EQooqOkIykQ27CIBS/rmflTsOuw5CAZaSR7
+rP/7x2PZkYRz7gXAVwBf8DxSAD9JWqyQBIDvRVFkIQQVEX6WRVFwOp1+AHgFkJC8aivAWwhB8zzn
+6XSKeTgcuN/vudvtKCLcbreczWYNCAA4AG8iQu89L5cLvff03vN4PDLLMqZpShHh+Xxmnuecz+cf
+AF5JwlWAoYj8UFUsFguUZYmyLBFCiDmZTBrDaLVa7wCWrdtikiQYjUZxNqoKVYWIIMsymBlEBO12
++w/oFuCcw3K5RAgBIoKyLCEiEWRmGI/HzU7u32k4HDb2dSdmBlWth/4YsFqtICIN51poZvGKDwH9
+fv++FMX1+ilgvV7HwZlZbB0AzAyDweA5oNvtNpzuHe/jL8Bms4nOdd5Cer3eQwABuE6n89SxCqu6
+Y8Ir3lTV1wf/EqvqGYACgKu+8zdcv3PyP/aVOCX56zfInVxa8Hj31gAAAABJRU5ErkJggg==
+"
+ height="16"
+ width="16" />
+ <image
+ y="747.60388"
+ x="265.6059"
+ id="image3628"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAhVJREFU
+OI3Fk7tuE1EQhr85e7xeO15fSBxDHCfCSBEtz8ADUPMEtLwAPTUtHRIF6ZBAiqAIEikAQZ8iSAk2
+MVlfkniztvd6KGzCpU3BSKOZKebX/DP/iDGGq5i6UjegHz39uOsU3TsDP166mCUqM5BhSDNDZgyp
+MWTZvF64QdI4npwPOvsHB7peq7Qe3Nsqh7ERJ2/9hS7/5jKP0zCxpmG6dv9xOFPeOGlHSSbPd3t0
+BhFBaDgaZnRGGd2zjN55hucbBoEhTqE7jHjyqsdpECq33rqlgjCVfE7RvFHmzRePs4uYRlnIWWBb
+gq0FW0O1IAzHEdt7J1SvlVmu5gFETWYJAO3rJdYbZXY+e5z6MSslha3BtqDiCCM/YnvPY2W5TLtZ
+QhbHU8EsnW/TgvZaiXqtyIt3HUZ+RMURXEcY+hHP3naoVIq010oU9B9nDKbzCUQgiRMcnbHRrPL6
+k0d3MKM7mPHyg0erWcW1U5RJsPXvzepJmGKAKEo4Gfm0Gi62naM3cni/P0YBW60ajeUCwSyiN/BZ
+qbkYAxhBT8LEpJkRb+jTqrsUnBwYuLlaZGO1iACy0IYu2uhVl+P+mGm1ACYzOhh9PwyjZPP2ekFK
+BSWiUtSCkohcauCXDkCzWXOzwx9+NO53j3V00T+6+3CnlneXlnTeEq0tlCVYCpQSlF4AyCVtkyZR
+ND0/Hfa/dr7Jf3+mKwP8BP1J+XtVAGrrAAAAAElFTkSuQmCC
+"
+ height="16"
+ width="16" />
+ <image
+ y="749.65729"
+ x="265.74442"
+ id="image3725"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAVRJREFU
+OI2Vk7FqAkEQhr+5XbQULLQLSZvGKuZ9xOIqXyWIFlelVPIcgpAyT2CSRmIhCAHN7ZhJEU9Os8Zk
+YdiF2f3/b2Z3BbgAmoDwcyyAVzP7jOT24ybP8w9VtSJCCLZer20wGPSBK8CZGbEQoK2qjyEEZrMZ
+8/mcEAK1Wo0QAqPR6CHLsjHwdIqmraq22WxsMplYnuf2HxpfqCRJsp9jNK1Wq5emaTPLsrGIHNC0
+C6fpdGq/0RS54XDYBy6BxJdrEZEojaqiqoQQqNfrdDqdnveeNE3vkti1iAjOuYO1c25vUKlU6Ha7
+PaARFSjTOOdIkgTnHNVqldVqxXK53O87KMHMztKICKoaFyhcT4kU+fI+Dyy897d8P+VrVb2P0RTu
+ZSEAb2bPIvLC0V+I0ZT7clCCfduZiLydozkWPm7in2m22+07sJVY53eHLoFGNLnTABZfqoEJ24bE
+i/YAAAAASUVORK5CYII=
+"
+ height="16"
+ width="16" />
+ <image
+ y="-787.57947"
+ x="-342.35602"
+ id="image3857"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAUNJREFU
+OI2lk89qAjEQh79klZ56EuylB0+CXgutz+ET+ADSx+i1CILP1BcQvHr0tIfgrskk00Ob7XaxtX8C
+w8yEzG8+ZohRVf5z7L+qgV47McaYSwXaQTbALXADFD9segD2qpryxV1d12UIIYqIfmd1Xet6vV4B
+I8CqKj2gKIri2ntvY4yoKv1+n0wqIqSU8N4zGAyYz+ePAMvl8tkYswe4z+pVVWlVVXo6nZrYOadl
+WerhcFAR0ePxqM453Ww2K2Bk3gVeYozsdjtCCFhr88BQVWKMeO+ZzWafN9DrPTRbsNYynU67EyfG
+2FhZlqSUEBGGw+GbSLMOY9hut+fWRoyRlFLjx+PxB0X7cZegLZIF8qDPCpwjyCel1AhNJpPfEWSK
+tv2JIAu1G10k6P7Wbm4Wi8WTc+5KRPjKQgiNz7GIoKqnV4ZMMuP74A8FAAAAAElFTkSuQmCC
+"
+ height="16"
+ width="16"
+ transform="scale(-1,-1)" />
+ <image
+ y="771.07178"
+ x="267.13602"
+ id="image3790"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAVZJREFU
+OI2FkbFuwjAQhr9zLNgYGNqtYu5e+j6IgamvUlViYOqz8BLsbScUJBBQhTS+9DqUpE6IykmWLfvu
+8/3/CXAH3ALCZaTAh5l9d7zV8VAUxZeqWrzyPLf5fP4CjABnZnQtgLGq2ul0suPxaLvdztI0NVW1
+LMtssVi8AKOrgDzPLcsyOxwOttls6k5CCAY8Au4sU2KAr3QkSVLv/X6f1WrFer1mMBgA3J/TDEBE
+Gt6M49+qTpbLpRVFYde8qTs4k+tOnHM45wghoKqoKiEEhsMhk8nkyXvPbDZ7du2RiAgignOuAU2S
+BJHfSfd6PabT6RNwcwGIIZUnzrnam/1+z3a7rXMbEqqxVJC2rAqsqt2AqqjrHEuI3zyQeu8f2yqA
+e1V9bcuKQQDezN5E5L0DcBGxLw0JFov/S6zvurxpAK5FuwigLMtPoJTW53HRCLj5h1sC6Q9MlgFW
+OwAOYwAAAABJRU5ErkJggg==
+"
+ height="16"
+ width="16" />
+ <image
+ width="16"
+ height="16"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAXpJREFU
+OI2Nk7GOGjEQhn9veAbSXMRV0FEQcdfQ8BQ810lQ8EQooqOkIykQ27CIBS/rmflTsOuw5CAZaSR7
+rP/7x2PZkYRz7gXAVwBf8DxSAD9JWqyQBIDvRVFkIQQVEX6WRVFwOp1+AHgFkJC8aivAWwhB8zzn
+6XSKeTgcuN/vudvtKCLcbreczWYNCAA4AG8iQu89L5cLvff03vN4PDLLMqZpShHh+Xxmnuecz+cf
+AF5JwlWAoYj8UFUsFguUZYmyLBFCiDmZTBrDaLVa7wCWrdtikiQYjUZxNqoKVYWIIMsymBlEBO12
++w/oFuCcw3K5RAgBIoKyLCEiEWRmGI/HzU7u32k4HDb2dSdmBlWth/4YsFqtICIN51poZvGKDwH9
+fv++FMX1+ilgvV7HwZlZbB0AzAyDweA5oNvtNpzuHe/jL8Bms4nOdd5Cer3eQwABuE6n89SxCqu6
+Y8Ir3lTV1wf/EqvqGYACgKu+8zdcv3PyP/aVOCX56zfInVxa8Hj31gAAAABJRU5ErkJggg==
+"
+ id="image3860"
+ x="281"
+ y="-814.36218"
+ transform="scale(1,-1)" />
+ <image
+ width="16"
+ height="16"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAVRJREFU
+OI2Vk7FqAkEQhr+5XbQULLQLSZvGKuZ9xOIqXyWIFlelVPIcgpAyT2CSRmIhCAHN7ZhJEU9Os8Zk
+YdiF2f3/b2Z3BbgAmoDwcyyAVzP7jOT24ybP8w9VtSJCCLZer20wGPSBK8CZGbEQoK2qjyEEZrMZ
+8/mcEAK1Wo0QAqPR6CHLsjHwdIqmraq22WxsMplYnuf2HxpfqCRJsp9jNK1Wq5emaTPLsrGIHNC0
+C6fpdGq/0RS54XDYBy6BxJdrEZEojaqiqoQQqNfrdDqdnveeNE3vkti1iAjOuYO1c25vUKlU6Ha7
+PaARFSjTOOdIkgTnHNVqldVqxXK53O87KMHMztKICKoaFyhcT4kU+fI+Dyy897d8P+VrVb2P0RTu
+ZSEAb2bPIvLC0V+I0ZT7clCCfduZiLydozkWPm7in2m22+07sJVY53eHLoFGNLnTABZfqoEJ24bE
+i/YAAAAASUVORK5CYII=
+"
+ id="image3862"
+ x="253.74442"
+ y="789.65729" />
+ <g
+ id="g4026"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/src/main/java/cc/kune/core/client/resources/nav/list.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <rect
+ style="opacity:0.76999996000000004;color:#000000;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.06250000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect3864"
+ width="16"
+ height="16"
+ x="301"
+ y="798.36218" />
+ <image
+ width="16"
+ height="11"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAYAAAB24g05AAAABHNCSVQICAgIfAhkiAAAAgNJREFU
+KJFdkrtuE1EQhr85e7zedby+kDiGOCbCSBEtz8ADUPMEtDwAD0BNSYlEQTokkCIogkSKCEGfIkgJ
+NjFZX5J4s7b3eihsEsRIo/mnGc3365fnrw72nJL3cBgkK1fzVOUGcgxZbsiNITOGPF/syzZIliTT
+y2H38OhIN+rV9tPH25UoMeIULf4t+V/LYs6i1JpF2caTF9Fc+ZO0E6e5vNnr0x3GhJHhZJTTHef0
+LnL6lzl+YBiGhiSD3ijm5fs+52GkvEb7vgqjTIoFRetOhY/ffS6uEpoVoWCBbQm2FmwNNVcYTWJ2
+9s+o3aqwWisCiJrOUwA6t8tsNivsfvM5DxLWygpbg21B1RHGQczOvs/aaoVOq4yYBZoK5xkA2oLO
+RplGvcTbz13GQUzVETxHGAUxrz91qVZLdDbKuPrGGxXOFh+IQJqkODrnbqvGh68+veGc3nDOuwOf
+dquGZ2cok2LrG2f1NMowQBynnI0D2k0P2y7QHzt8OZyggO12neaqSziP6Q8D1uoexgBG0NMoNVlu
+xB8FtBserlMAA/fWS9xdLyGALLOhSzZ63eN0MGFWc8HkRofjX8dRnG492HSl7CoRlaGWSCJynYG/
+OQDNVt3Lj38H8WTQO9Xx1eDk0bPdetFbWdFFS7S2UJZgKVBKUHp5QK6xTZbG8ezyfDT40f35B/6e
+83OfcJ+mAAAAAElFTkSuQmCC
+"
+ id="image4023"
+ x="301"
+ y="799.36218" />
+ <image
+ width="16"
+ height="9"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAABHNCSVQICAgIfAhkiAAAAMZJREFU
+KJGNkr2Kg2AQRc/niC5h+7BFsNPOwtoib553sLST7fYBsgjfHVP4g2sg2QsDw8A9d2AmMOsCfPF/
+CfgBvtNlcB7H8WZmH0DyxuyS7nmeX1dAABIzOwF0XUeMkRgjkraapgl3p23bJMuyT8CAkB7xdV0/
+Ra7mtd/rCdD3PZKIMeLuuDuS5t3daZrmNaAsyz9Jx8Sj9oAJCMMwbMlr7SFVVQH46kkXo0v6NbNT
+URQvEwEk3ZlPSVhmF+DM+xNuDJY/eACnnm1bpLVzVgAAAABJRU5ErkJggg==
+"
+ id="image3993"
+ x="301"
+ y="805.36218" />
+ </g>
+ <g
+ id="g4031"
+ transform="translate(0,17)"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/src/main/java/cc/kune/core/client/resources/nav/listadd.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <rect
+ y="798.36218"
+ x="301"
+ height="16"
+ width="16"
+ id="rect4033"
+ style="opacity:0.76999996;color:#000000;fill:none;stroke:none;stroke-width:1.0625;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <image
+ y="799.36218"
+ x="301"
+ id="image4035"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAYAAAB24g05AAAABHNCSVQICAgIfAhkiAAAAgNJREFU
+KJFdkrtuE1EQhr85e7zedby+kDiGOCbCSBEtz8ADUPMEtDwAD0BNSYlEQTokkCIogkSKCEGfIkgJ
+NjFZX5J4s7b3eihsEsRIo/mnGc3365fnrw72nJL3cBgkK1fzVOUGcgxZbsiNITOGPF/syzZIliTT
+y2H38OhIN+rV9tPH25UoMeIULf4t+V/LYs6i1JpF2caTF9Fc+ZO0E6e5vNnr0x3GhJHhZJTTHef0
+LnL6lzl+YBiGhiSD3ijm5fs+52GkvEb7vgqjTIoFRetOhY/ffS6uEpoVoWCBbQm2FmwNNVcYTWJ2
+9s+o3aqwWisCiJrOUwA6t8tsNivsfvM5DxLWygpbg21B1RHGQczOvs/aaoVOq4yYBZoK5xkA2oLO
+RplGvcTbz13GQUzVETxHGAUxrz91qVZLdDbKuPrGGxXOFh+IQJqkODrnbqvGh68+veGc3nDOuwOf
+dquGZ2cok2LrG2f1NMowQBynnI0D2k0P2y7QHzt8OZyggO12neaqSziP6Q8D1uoexgBG0NMoNVlu
+xB8FtBserlMAA/fWS9xdLyGALLOhSzZ63eN0MGFWc8HkRofjX8dRnG492HSl7CoRlaGWSCJynYG/
+OQDNVt3Lj38H8WTQO9Xx1eDk0bPdetFbWdFFS7S2UJZgKVBKUHp5QK6xTZbG8ezyfDT40f35B/6e
+83OfcJ+mAAAAAElFTkSuQmCC
+"
+ height="11"
+ width="16" />
+ <image
+ y="805.36218"
+ x="301"
+ id="image4037"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAABHNCSVQICAgIfAhkiAAAAMZJREFU
+KJGNkr2Kg2AQRc/niC5h+7BFsNPOwtoib553sLST7fYBsgjfHVP4g2sg2QsDw8A9d2AmMOsCfPF/
+CfgBvtNlcB7H8WZmH0DyxuyS7nmeX1dAABIzOwF0XUeMkRgjkraapgl3p23bJMuyT8CAkB7xdV0/
+Ra7mtd/rCdD3PZKIMeLuuDuS5t3daZrmNaAsyz9Jx8Sj9oAJCMMwbMlr7SFVVQH46kkXo0v6NbNT
+URQvEwEk3ZlPSVhmF+DM+xNuDJY/eACnnm1bpLVzVgAAAABJRU5ErkJggg==
+"
+ height="9"
+ width="16" />
+ </g>
+ <image
+ width="16"
+ height="16"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAQZJREFU OI1j/P//PwMlgIki3cPDABZsggVTo2r+M/wv+/HrO+/nbx8/f/jyrmtb+8UWbGoZ0WMhc0JQg6SM QL2xpgmDjJAqw/6rGxhOXDnM8ODOm94TU56VEPTC1x+fyw009Bn+Mv1l0Jd0ZfjL+JvBQteKgYGB IRubCzAMeP/lLQcrIw+Dn2YuAwMDA0Ox8ywGZTE9BgYGBg6iDHj78dWPq8+OMXTsTmRgYGBg6NiV yHD31SUGBgaGH0QZ8O//v94Tl44xsDGwMGy+PI2BjZGF4ciFgwwMDAxTsRmAEYgMDAwMFjlSHQwM DFkMDAy8DAwMnxkYGKadmPKsgmgDSAEDnxIpNgAAJ+ZYJkBPdSwAAAAASUVORK5CYII= "
+ id="image4039"
+ x="306"
+ y="819.36218" />
+ <image
+ y="836.36218"
+ x="300"
+ id="image4103"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAqNJREFU
+OI2FkU9oXGUUxX/3e997M5PM2LQlatJMps3CFrqorioUxFKXQkERcas7NxZcqMuKFZRsXNisrBux
+lKBFNCIq6qIbDf5BKKaWtEkmRpMxkzj/3sx73/uui0mCQwNeuJvDufeec66oKvvVe1+tnbWh/SYQ
+IUndC88/MXZlX6Kq3tNvzS5emr2xrkvrXV2r93Ru/m99e/bO1f249wCvf3j7u8/nN7QRe+051dSp
+dlOvN27W9eIHt+9OX18Z/y9fdi28O1d92Ih8f/r4SPTQkWEQodnNADhQMFgDy7UuX/+yxXbHPfXa
+05PXgf6Cdz5ZefnwgWj65t3ari+8glfFOU/iPIdKIa3YocDpkxMsrMYzF5+rvMjlz6rZ3Pym/rnt
+9NUrv+r/1YWZH7URe/3y5y1949pyZtO4VT13arzSSxXv+3ZmfhsMeqGWstrI+OjJPF5BNCPutPj2
+px9W7EbDTSbOc+nqrb2BZycSREAVXOaJDzlasQPyVNfbvPL+Ai+dn6Q0Wq6Ydi+TXGg480gZkb4C
+ERAgMBAGhnwUkI8CVKE4FHHyeJnDIzkAMZ2uA2DqwSJnTh3j8qeLCICAiBAEQhQGDOUsb177nbOP
+nmDqSJGdW9j2zqtsAFPjRXJByvTHdwgDGcghccr5x44SZ+EAbtux25PtUkeSKs88fgwbDhJdmnJr
+tcHY6H3Y0PZBAdPpZSiQJI71epPyAyWiaHAYwIYhR8dK1LebeOdQBVSwnZ7TzKtsbDYpj5Yo5ENQ
+UCDrH0EUPIodirD3l1irNYhHCqBebbv+x1IvcZUTEwUpFoyIyTC7nxDZVboXLFgqB0t+6a9m0qit
+rtmkVVs+d+GLg7nS8LDNBWJtgAmEwIAxgrE7C2TPtmYuSeJ/tjZri9WVfwH1K4zAd92YdQAAAABJ
+RU5ErkJggg==
+"
+ height="16"
+ width="16"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/src/main/java/cc/kune/core/client/resources/nav/email.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ <image
+ width="16"
+ height="16"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAqNJREFU
+OI2FkU9oXGUUxX/3e997M5PM2LQlatJMps3CFrqorioUxFKXQkERcas7NxZcqMuKFZRsXNisrBux
+lKBFNCIq6qIbDf5BKKaWtEkmRpMxkzj/3sx73/uui0mCQwNeuJvDufeec66oKvvVe1+tnbWh/SYQ
+IUndC88/MXZlX6Kq3tNvzS5emr2xrkvrXV2r93Ru/m99e/bO1f249wCvf3j7u8/nN7QRe+051dSp
+dlOvN27W9eIHt+9OX18Z/y9fdi28O1d92Ih8f/r4SPTQkWEQodnNADhQMFgDy7UuX/+yxXbHPfXa
+05PXgf6Cdz5ZefnwgWj65t3ari+8glfFOU/iPIdKIa3YocDpkxMsrMYzF5+rvMjlz6rZ3Pym/rnt
+9NUrv+r/1YWZH7URe/3y5y1949pyZtO4VT13arzSSxXv+3ZmfhsMeqGWstrI+OjJPF5BNCPutPj2
+px9W7EbDTSbOc+nqrb2BZycSREAVXOaJDzlasQPyVNfbvPL+Ai+dn6Q0Wq6Ydi+TXGg480gZkb4C
+ERAgMBAGhnwUkI8CVKE4FHHyeJnDIzkAMZ2uA2DqwSJnTh3j8qeLCICAiBAEQhQGDOUsb177nbOP
+nmDqSJGdW9j2zqtsAFPjRXJByvTHdwgDGcghccr5x44SZ+EAbtux25PtUkeSKs88fgwbDhJdmnJr
+tcHY6H3Y0PZBAdPpZSiQJI71epPyAyWiaHAYwIYhR8dK1LebeOdQBVSwnZ7TzKtsbDYpj5Yo5ENQ
+UCDrH0EUPIodirD3l1irNYhHCqBebbv+x1IvcZUTEwUpFoyIyTC7nxDZVboXLFgqB0t+6a9m0qit
+rtmkVVs+d+GLg7nS8LDNBWJtgAmEwIAxgrE7C2TPtmYuSeJ/tjZri9WVfwH1K4zAd92YdQAAAABJ
+RU5ErkJggg==
+"
+ id="image4106"
+ x="300"
+ y="856.36218"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/src/main/java/cc/kune/core/client/resources/nav/newemail.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ <image
+ y="860.36218"
+ x="305"
+ id="image4108"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAQZJREFU OI1j/P//PwMlgIki3cPDABZsggVTo2r+M/wv+/HrO+/nbx8/f/jyrmtb+8UWbGoZ0WMhc0JQg6SM QL2xpgmDjJAqw/6rGxhOXDnM8ODOm94TU56VEPTC1x+fyw009Bn+Mv1l0Jd0ZfjL+JvBQteKgYGB IRubCzAMeP/lLQcrIw+Dn2YuAwMDA0Ox8ywGZTE9BgYGBg6iDHj78dWPq8+OMXTsTmRgYGBg6NiV yHD31SUGBgaGH0QZ8O//v94Tl44xsDGwMGy+PI2BjZGF4ciFgwwMDAxTsRmAEYgMDAwMFjlSHQwM DFkMDAy8DAwMnxkYGKadmPKsgmgDSAEDnxIpNgAAJ+ZYJkBPdSwAAAAASUVORK5CYII= "
+ height="16"
+ width="16" />
+ <g
+ id="g4110"
+ transform="translate(0,-17)">
+ <rect
+ y="798.36218"
+ x="301"
+ height="16"
+ width="16"
+ id="rect4112"
+ style="opacity:0.76999996;color:#000000;fill:none;stroke:none;stroke-width:1.0625;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <image
+ y="799.36218"
+ x="301"
+ id="image4114"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAYAAAB24g05AAAABHNCSVQICAgIfAhkiAAAAgNJREFU
+KJFdkrtuE1EQhr85e7zedby+kDiGOCbCSBEtz8ADUPMEtDwAD0BNSYlEQTokkCIogkSKCEGfIkgJ
+NjFZX5J4s7b3eihsEsRIo/mnGc3365fnrw72nJL3cBgkK1fzVOUGcgxZbsiNITOGPF/syzZIliTT
+y2H38OhIN+rV9tPH25UoMeIULf4t+V/LYs6i1JpF2caTF9Fc+ZO0E6e5vNnr0x3GhJHhZJTTHef0
+LnL6lzl+YBiGhiSD3ijm5fs+52GkvEb7vgqjTIoFRetOhY/ffS6uEpoVoWCBbQm2FmwNNVcYTWJ2
+9s+o3aqwWisCiJrOUwA6t8tsNivsfvM5DxLWygpbg21B1RHGQczOvs/aaoVOq4yYBZoK5xkA2oLO
+RplGvcTbz13GQUzVETxHGAUxrz91qVZLdDbKuPrGGxXOFh+IQJqkODrnbqvGh68+veGc3nDOuwOf
+dquGZ2cok2LrG2f1NMowQBynnI0D2k0P2y7QHzt8OZyggO12neaqSziP6Q8D1uoexgBG0NMoNVlu
+xB8FtBserlMAA/fWS9xdLyGALLOhSzZ63eN0MGFWc8HkRofjX8dRnG492HSl7CoRlaGWSCJynYG/
+OQDNVt3Lj38H8WTQO9Xx1eDk0bPdetFbWdFFS7S2UJZgKVBKUHp5QK6xTZbG8ezyfDT40f35B/6e
+83OfcJ+mAAAAAElFTkSuQmCC
+"
+ height="11"
+ width="16" />
+ <image
+ y="805.36218"
+ x="301"
+ id="image4116"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAABHNCSVQICAgIfAhkiAAAAMZJREFU
+KJGNkr2Kg2AQRc/niC5h+7BFsNPOwtoib553sLST7fYBsgjfHVP4g2sg2QsDw8A9d2AmMOsCfPF/
+CfgBvtNlcB7H8WZmH0DyxuyS7nmeX1dAABIzOwF0XUeMkRgjkraapgl3p23bJMuyT8CAkB7xdV0/
+Ra7mtd/rCdD3PZKIMeLuuDuS5t3daZrmNaAsyz9Jx8Sj9oAJCMMwbMlr7SFVVQH46kkXo0v6NbNT
+URQvEwEk3ZlPSVhmF+DM+xNuDJY/eACnnm1bpLVzVgAAAABJRU5ErkJggg==
+"
+ height="9"
+ width="16" />
+ </g>
+ <path
+ inkscape:connector-curvature="0"
+ style="color:#000000;fill:#ff5555;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.06250000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="m 313.22393,788.31216 -5.61351,5.05002 -1.81751,-2.09221 -2.22424,2.28085 c 1.60629,1.4242 2.80319,2.43911 4.13653,3.80876 2.24198,-2.10143 4.53857,-3.76628 6.97148,-5.34924 -0.3707,-1.58182 -0.85095,-2.67256 -1.45275,-3.69818 z"
+ id="path4118"
+ sodipodi:nodetypes="ccccccc"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/src/main/java/cc/kune/core/client/resources/nav/task.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
</g>
</svg>
Deleted: trunk/src/main/java/cc/kune/blogs/client/actions/AbstractOptionsMenu.java
===================================================================
--- trunk/src/main/java/cc/kune/blogs/client/actions/AbstractOptionsMenu.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/blogs/client/actions/AbstractOptionsMenu.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -1,32 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.blogs.client.actions;
-
-import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
-import cc.kune.core.client.resources.CoreResources;
-
-public abstract class AbstractOptionsMenu extends MenuDescriptor {
-
- public AbstractOptionsMenu(final CoreResources res) {
- super();
- this.withIcon(res.arrowDownBlack()).withStyles("k-fr");
- }
-
-}
Modified: trunk/src/main/java/cc/kune/blogs/client/actions/BlogsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/blogs/client/actions/BlogsClientActions.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/blogs/client/actions/BlogsClientActions.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -53,7 +53,7 @@
public BlogsClientActions(final I18nUITranslationService i18n, final Session session,
final StateManager stateManager, final ActionRegistryByType registry, final CoreResources res,
final Provider<GoParentBlogBtn> folderGoUp, final Provider<NewPostMenuItem> newPostItem,
- final Provider<NewPostIconBtn> newPostIconBtn, final Provider<NewBlogBtn> newFolderBtn,
+ final Provider<NewPostIconBtn> newPostIconBtn, final Provider<NewBlogBtn> newBlogBtn,
final Provider<OpenBlogMenuItem> openContentMenuItem,
final Provider<DelPostMenuItem> delContentMenuItem,
final Provider<RefreshContentMenuItem> refresh,
@@ -68,7 +68,7 @@
actionsRegistry.addAction(ActionGroups.TOOLBAR, refresh, all);
actionsRegistry.addAction(ActionGroups.TOOLBAR, newPostItem, containersNoRoot);
actionsRegistry.addAction(ActionGroups.TOOLBAR, newPostIconBtn, noRoot);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, newFolderBtn, TYPE_ROOT);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, newBlogBtn, TYPE_ROOT);
actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, contents);
actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, containers);
actionsRegistry.addAction(ActionGroups.TOOLBAR, participateBtn, contents);
Modified: trunk/src/main/java/cc/kune/client/KuneEntryPoint.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneEntryPoint.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/client/KuneEntryPoint.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -79,12 +79,13 @@
/* Tools (order in GUI) */
ginjector.getDocsParts();
+ ginjector.getBartersParts();
ginjector.getBlogsParts();
- ginjector.getWikiParts();
ginjector.getChatParts();
- ginjector.getBartersParts();
+ ginjector.getListsParts();
ginjector.getMeetingsParts();
ginjector.getTasksParts();
+ ginjector.getWikiParts();
ginjector.getSiteLogoPresenter();
ginjector.getSpacesTabPresenter();
Modified: trunk/src/main/java/cc/kune/client/KuneGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -56,6 +56,8 @@
import cc.kune.docs.client.DocsGinjector;
import cc.kune.gspace.client.GSpaceGinModule;
import cc.kune.gspace.client.GSpaceGinjector;
+import cc.kune.lists.client.ListsGinModule;
+import cc.kune.lists.client.ListsGinjector;
import cc.kune.meets.client.MeetingsGinModule;
import cc.kune.meets.client.MeetingsGinjector;
import cc.kune.pspace.client.PSpaceGinModule;
@@ -77,9 +79,10 @@
@GinModules({ KuneGinModule.class, CoreGinModule.class, WaveGinModule.class, PSpaceGinModule.class,
GSpaceGinModule.class, DocsGinModule.class, BlogsGinModule.class, ChatGinModule.class,
- WikiGinModule.class, BartersGinModule.class, MeetingsGinModule.class, TasksGinModule.class })
+ WikiGinModule.class, BartersGinModule.class, MeetingsGinModule.class, TasksGinModule.class,
+ ListsGinModule.class })
public interface KuneGinjector extends Ginjector, GSpaceGinjector, DocsGinjector, BlogsGinjector,
- WikiGinjector, BartersGinjector, MeetingsGinjector, ChatGinjector, TasksGinjector {
+ WikiGinjector, BartersGinjector, MeetingsGinjector, ChatGinjector, TasksGinjector, ListsGinjector {
/*
* You have to add here all the GWTPresenters (as Provider or AsyncProvider)
Modified: trunk/src/main/java/cc/kune/common/client/tooltip/Tooltip.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/tooltip/Tooltip.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/common/client/tooltip/Tooltip.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -134,6 +134,7 @@
public void hide() {
super.hide();
timers.cancel();
+ Tooltip.current = null;
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/resources/nav/NavResources.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/nav/NavResources.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/core/client/resources/nav/NavResources.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -45,6 +45,9 @@
@Source("download.png")
ImageResource download();
+ @Source("email.png")
+ ImageResource email();
+
@Source("film.png")
ImageResource film();
@@ -63,9 +66,18 @@
@Source("go.png")
ImageResource go();
+ @Source("list.png")
+ ImageResource list();
+
+ @Source("listadd.png")
+ ImageResource listadd();
+
@Source("music.png")
ImageResource music();
+ @Source("newemail.png")
+ ImageResource newemail();
+
@Source("page.png")
ImageResource page();
Added: trunk/src/main/java/cc/kune/core/client/resources/nav/email.png
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/client/resources/nav/email.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/src/main/java/cc/kune/core/client/resources/nav/list.png
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/client/resources/nav/list.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/src/main/java/cc/kune/core/client/resources/nav/listadd.png
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/client/resources/nav/listadd.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/src/main/java/cc/kune/core/client/resources/nav/newemail.png
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/client/resources/nav/newemail.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/src/main/java/cc/kune/domain/Content.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Content.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/domain/Content.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -58,6 +58,7 @@
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.docs.shared.DocsConstants;
import cc.kune.domain.utils.HasStateToken;
+import cc.kune.lists.shared.ListsConstants;
import cc.kune.meets.shared.MeetingsConstants;
import cc.kune.tasks.shared.TasksConstants;
import cc.kune.wiki.shared.WikiConstants;
@@ -266,6 +267,7 @@
public boolean isWave() {
return (typeId.equals(DocsConstants.TYPE_DOCUMENT))
|| typeId.equals(TasksConstants.TYPE_TASK)
+ || typeId.equals(ListsConstants.TYPE_POST)
|| typeId.equals(WikiConstants.TYPE_WIKIPAGE)
|| (typeId.equals(BlogsConstants.TYPE_POST) || typeId.equals(BartersConstants.TYPE_BARTER) || typeId.equals(MeetingsConstants.TYPE_MEETING));
}
Modified: trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPresenter.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPresenter.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -89,7 +89,7 @@
if (enabledTools.contains(toolName)) {
// FIXME uncomment this when fixed
// setToolCheckedInServer(checked, toolName);
- // gotoDifLocationIfNecessary(toolName);
+ gotoDifLocationIfNecessary(toolName);
}
}
}
@@ -139,7 +139,7 @@
@Override
public void onSuccess(final Void result) {
- stateManager.refreshCurrentState();
+ stateManager.refreshCurrentStateWithoutCache();
// view.unmask();
}
});
Added: trunk/src/main/java/cc/kune/lists/client/ListsClientTool.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/ListsClientTool.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/ListsClientTool.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,70 @@
+/*
+ *
+ * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client;
+
+import static cc.kune.lists.shared.ListsConstants.NAME;
+import static cc.kune.lists.shared.ListsConstants.ROOT_NAME;
+import static cc.kune.lists.shared.ListsConstants.TYPE_LIST;
+import static cc.kune.lists.shared.ListsConstants.TYPE_ROOT;
+import static cc.kune.lists.shared.ListsConstants.TYPE_POST;
+import cc.kune.core.client.registry.ContentCapabilitiesRegistry;
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.tool.FoldableAbstractClientTool;
+import cc.kune.gspace.client.tool.selector.ToolSelector;
+
+import com.google.inject.Inject;
+
+public class ListsClientTool extends FoldableAbstractClientTool {
+
+ @Inject
+ public ListsClientTool(final I18nTranslationService i18n, final ToolSelector toolSelector,
+ final ContentCapabilitiesRegistry cntCapRegistry, final NavResources navResources) {
+ super(NAME, i18n.t(ROOT_NAME), toolSelector, cntCapRegistry, i18n, navResources);
+
+ // registerAclEditableTypes();
+ registerAuthorableTypes(TYPE_POST);
+ registerDragableTypes();
+ registerDropableTypes();
+ registerPublishModerableTypes();
+ registerRateableTypes(TYPE_POST);
+ registerRenamableTypes(TYPE_LIST, TYPE_POST);
+ registerTageableTypes(TYPE_LIST, TYPE_POST);
+ // registerTranslatableTypes();
+ registerIcons();
+ }
+
+ @Override
+ public String getName() {
+ return NAME;
+ }
+
+ private void registerIcons() {
+ registerContentTypeIcon(TYPE_ROOT, navResources.list());
+ registerContentTypeIcon(TYPE_LIST, navResources.list());
+ registerContentTypeIcon(TYPE_POST, navResources.email());
+ final String noWave = i18n.t("There isn't nothing post yet, create one");
+ final String noList = i18n.t("There isn't any list, create one");
+ registerEmptyMessages(TYPE_ROOT, noList);
+ registerEmptyMessages(TYPE_LIST, noWave);
+ // registerShowDeleted();
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/ListsGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/ListsGinModule.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/ListsGinModule.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client;
+
+import cc.kune.common.client.ExtendedGinModule;
+import cc.kune.lists.client.actions.ListsClientActions;
+import cc.kune.lists.client.actions.ListsNewMenu;
+
+public class ListsGinModule extends ExtendedGinModule {
+
+ @Override
+ protected void configure() {
+ s(ListsNewMenu.class);
+ s(ListsClientTool.class);
+ s(ListsClientActions.class);
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/ListsGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/ListsGinjector.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/ListsGinjector.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client;
+
+import com.google.gwt.inject.client.Ginjector;
+
+public interface ListsGinjector extends Ginjector {
+
+ ListsParts getListsParts();
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/ListsParts.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/ListsParts.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/ListsParts.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,42 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client;
+
+import cc.kune.core.client.state.Session;
+import cc.kune.gspace.client.tool.ContentViewerSelector;
+import cc.kune.gspace.client.viewers.ContentViewerPresenter;
+import cc.kune.gspace.client.viewers.FolderViewerPresenter;
+import cc.kune.lists.client.actions.ListsClientActions;
+import cc.kune.lists.shared.ListsConstants;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class ListsParts {
+
+ @Inject
+ public ListsParts(final Session session, final Provider<ListsClientTool> clientTool,
+ final ContentViewerSelector viewerSelector, final ListsClientActions listsActions,
+ final ContentViewerPresenter contentViewer, final FolderViewerPresenter folderViewer) {
+ clientTool.get();
+ viewerSelector.register(contentViewer, true, ListsConstants.TYPE_POST);
+ viewerSelector.register(folderViewer, true, ListsConstants.TYPE_ROOT, ListsConstants.TYPE_LIST);
+ }
+}
\ No newline at end of file
Added: trunk/src/main/java/cc/kune/lists/client/actions/DelListMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/DelListMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/DelListMenuItem.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.DelContainerMenuItem;
+
+import com.google.inject.Inject;
+
+public class DelListMenuItem extends DelContainerMenuItem {
+
+ @Inject
+ public DelListMenuItem(final I18nTranslationService i18n, final DelContainerAction action, final CoreResources res) {
+ super(i18n, action, res);
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/DelPostMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/DelPostMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/DelPostMenuItem.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,34 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.DelContentMenuItem;
+
+import com.google.inject.Inject;
+
+public class DelPostMenuItem extends DelContentMenuItem {
+
+ @Inject
+ public DelPostMenuItem(final I18nTranslationService i18n, final DelContentAction action, final CoreResources res) {
+ super(i18n, action, res);
+ }
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/GoParentFolderBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/GoParentFolderBtn.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/GoParentFolderBtn.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,38 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.GoParentContainerBtn;
+import cc.kune.lists.shared.ListsConstants;
+
+import com.google.inject.Inject;
+
+public class GoParentFolderBtn extends GoParentContainerBtn {
+
+ @Inject
+ public GoParentFolderBtn(final I18nTranslationService i18n, final GoParentContainerAction action,
+ final CoreResources res, final Session session) {
+ super(i18n, action, res, session, ListsConstants.TYPE_ROOT);
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,85 @@
+/*
+ *
+ * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.lists.client.actions;
+
+import static cc.kune.lists.shared.ListsConstants.TYPE_LIST;
+import static cc.kune.lists.shared.ListsConstants.TYPE_ROOT;
+import static cc.kune.lists.shared.ListsConstants.TYPE_POST;
+import cc.kune.chat.client.actions.ChatAboutContentBtn;
+import cc.kune.core.client.actions.ActionRegistryByType;
+import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.registry.NewMenusForTypeIdsRegistry;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.gspace.client.actions.AbstractFoldableToolActions;
+import cc.kune.gspace.client.actions.ActionGroups;
+import cc.kune.gspace.client.actions.ContentViewerOptionsMenu;
+import cc.kune.gspace.client.actions.ParticipateInContentBtn;
+import cc.kune.gspace.client.actions.RefreshContentMenuItem;
+import cc.kune.gspace.client.actions.SetAsHomePageMenuItem;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class ListsClientActions extends AbstractFoldableToolActions {
+
+ final String[] all = { TYPE_ROOT, TYPE_LIST, TYPE_POST };
+ final String[] containers = { TYPE_ROOT, TYPE_LIST };
+ final String[] containersNoRoot = { TYPE_LIST };
+ final String[] contents = { TYPE_POST };
+ final String[] noRoot = { TYPE_LIST, TYPE_POST };
+
+ @Inject
+ public ListsClientActions(final I18nUITranslationService i18n, final Session session,
+ final StateManager stateManager, final ActionRegistryByType registry, final CoreResources res,
+ final Provider<GoParentFolderBtn> folderGoUp, final Provider<NewWaveMenuItem> newWaveItem,
+ final Provider<NewWaveIconBtn> newWaveIconBtn, final Provider<NewListMenuItem> newListMenuItem,
+ final Provider<NewListBtn> newListBtn, final Provider<OpenFolderMenuItem> openContentMenuItem,
+ final Provider<RefreshContentMenuItem> refresh, final Provider<SubscribeToListBtn> subscribeBtn,
+ final Provider<ContentViewerOptionsMenu> optionsMenuContent,
+ final Provider<ParticipateInContentBtn> participateBtn, final ListsNewMenu listNewMenu,
+ final NewMenusForTypeIdsRegistry newMenusRegistry, final Provider<ChatAboutContentBtn> chatAbout,
+ final Provider<DelListMenuItem> delFolderMenuItem,
+ final Provider<SetAsHomePageMenuItem> setAsHomePage) {
+ super(session, stateManager, i18n, registry);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, optionsMenuContent, all);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, listNewMenu, containers);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, refresh, all);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, subscribeBtn, containersNoRoot);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, newWaveItem, containersNoRoot);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, newWaveIconBtn, noRoot);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, newListMenuItem, TYPE_ROOT);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, newListBtn, TYPE_ROOT);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, contents);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, containers);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, participateBtn, contents);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, chatAbout, contents);
+ actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, contents);
+ actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, containersNoRoot);
+ actionsRegistry.addAction(ActionGroups.ITEM_MENU, delFolderMenuItem, containersNoRoot);
+ newMenusRegistry.register(TYPE_LIST, listNewMenu.get());
+ newMenusRegistry.register(TYPE_ROOT, listNewMenu.get());
+ }
+
+ @Override
+ protected void createPostSessionInitActions() {
+ }
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/ListsNewMenu.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/ListsNewMenu.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/ListsNewMenu.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,34 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.gspace.client.actions.AbstractNewMenu;
+import cc.kune.gspace.client.actions.NewMenuProvider;
+
+import com.google.inject.Inject;
+
+public class ListsNewMenu extends NewMenuProvider {
+
+ @Inject
+ public ListsNewMenu(final AbstractNewMenu menu) {
+ super(menu);
+ }
+
+}
Copied: trunk/src/main/java/cc/kune/lists/client/actions/NewListBtn.java (from rev 1489, trunk/src/main/java/cc/kune/blogs/client/actions/NewBlogBtn.java)
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/NewListBtn.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/NewListBtn.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,38 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.NewContainerBtn;
+import cc.kune.lists.shared.ListsConstants;
+
+import com.google.inject.Inject;
+
+public class NewListBtn extends NewContainerBtn {
+
+ @Inject
+ public NewListBtn(final I18nTranslationService i18n, final NewContainerAction action,
+ final NavResources res) {
+ super(i18n, action, res.listadd(), i18n.t("New list"), i18n.t("Create a new list"),
+ i18n.t("New list"), ListsConstants.TYPE_LIST);
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/NewListMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/NewListMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/NewListMenuItem.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,38 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.NewContainerMenuItem;
+import cc.kune.lists.shared.ListsConstants;
+
+import com.google.inject.Inject;
+
+public class NewListMenuItem extends NewContainerMenuItem {
+
+ @Inject
+ public NewListMenuItem(final I18nTranslationService i18n, final NewContainerAction action,
+ final NavResources res, final ListsNewMenu newMenu) {
+ super(i18n, action, res.listadd(), i18n.t("New list"), i18n.t("Create a list"), i18n.t("New list"),
+ ListsConstants.TYPE_LIST, newMenu.get());
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/NewWaveIconBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/NewWaveIconBtn.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/NewWaveIconBtn.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,41 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.common.client.shortcuts.GlobalShortcutRegister;
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.NewContentAction;
+import cc.kune.gspace.client.actions.NewContentBtn;
+import cc.kune.lists.shared.ListsConstants;
+
+import com.google.inject.Inject;
+
+public class NewWaveIconBtn extends NewContentBtn {
+
+ @Inject
+ public NewWaveIconBtn(final I18nTranslationService i18n, final NewContentAction action,
+ final NavResources res, final GlobalShortcutRegister shorcutReg) {
+ super(i18n, action, res.newemail(), shorcutReg, "", i18n.t("Create a new post"), i18n.t("New post"),
+ ListsConstants.TYPE_POST);
+ withStyles("k-btn-min, k-fl");
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/NewWaveMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/NewWaveMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/NewWaveMenuItem.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,40 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.common.client.shortcuts.GlobalShortcutRegister;
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.NewContentAction;
+import cc.kune.gspace.client.actions.NewContentMenuItem;
+import cc.kune.lists.shared.ListsConstants;
+
+import com.google.inject.Inject;
+
+public class NewWaveMenuItem extends NewContentMenuItem {
+
+ @Inject
+ public NewWaveMenuItem(final I18nTranslationService i18n, final NewContentAction action,
+ final NavResources res, final GlobalShortcutRegister shorcutReg, final ListsNewMenu listsNewMenu) {
+ super(i18n, action, res.newemail(), shorcutReg, i18n.t("New post"), i18n.t("Create a new post"),
+ i18n.t("New post"), ListsConstants.TYPE_POST, listsNewMenu.get());
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/OpenFolderMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/OpenFolderMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/OpenFolderMenuItem.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.lists.client.actions;
+
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.OpenContentMenuItem;
+
+import com.google.inject.Inject;
+
+public class OpenFolderMenuItem extends OpenContentMenuItem {
+
+ @Inject
+ public OpenFolderMenuItem(final I18nTranslationService i18n, final OpenContentAction action, final NavResources res) {
+ super(i18n, action, res);
+ }
+
+}
Added: trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -0,0 +1,40 @@
+package cc.kune.lists.client.actions;
+
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
+import cc.kune.common.client.notify.NotifyUser;
+import cc.kune.common.client.utils.TextUtils;
+import cc.kune.core.client.actions.RolAction;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+
+public class SubscribeToListBtn extends ButtonDescriptor {
+
+ public static class SubscriteToListAction extends RolAction {
+
+ private final I18nTranslationService i18n;
+
+ @Inject
+ public SubscriteToListAction(final I18nTranslationService i18n) {
+ super(AccessRolDTO.Editor, true);
+ this.i18n = i18n;
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.info(i18n.t(TextUtils.IN_DEVELOPMENT));
+ }
+
+ }
+
+ @Inject
+ public SubscribeToListBtn(final I18nTranslationService i18n, final SubscriteToListAction action,
+ final CoreResources res) {
+ super(action);
+ withText(i18n.t("Subscribe")).withIcon(res.add()).withToolTip(
+ i18n.t("Subscribe yourself to this list"));
+ }
+}
Modified: trunk/src/main/java/cc/kune/lists/server/ListsServerTool.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/server/ListsServerTool.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/lists/server/ListsServerTool.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -23,7 +23,7 @@
import static cc.kune.lists.shared.ListsConstants.ROOT_NAME;
import static cc.kune.lists.shared.ListsConstants.TYPE_LIST;
import static cc.kune.lists.shared.ListsConstants.TYPE_ROOT;
-import static cc.kune.lists.shared.ListsConstants.TYPE_WAVE;
+import static cc.kune.lists.shared.ListsConstants.TYPE_POST;
import java.util.Arrays;
@@ -43,7 +43,7 @@
@Inject
public ListsServerTool(final ContentManager contentManager, final ContainerManager containerManager,
final ToolConfigurationManager configurationManager, final I18nTranslationService i18n) {
- super(NAME, ROOT_NAME, TYPE_ROOT, Arrays.asList(TYPE_WAVE), Arrays.asList(TYPE_LIST),
+ super(NAME, ROOT_NAME, TYPE_ROOT, Arrays.asList(TYPE_POST), Arrays.asList(TYPE_LIST),
Arrays.asList(TYPE_LIST), Arrays.asList(TYPE_ROOT), contentManager, containerManager,
configurationManager, i18n, ServerToolTarget.forGroups);
}
Modified: trunk/src/main/java/cc/kune/lists/shared/ListsConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/shared/ListsConstants.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/lists/shared/ListsConstants.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -24,8 +24,8 @@
public static final String NAME = "lists";
public static final String ROOT_NAME = "lists";
public static final String TYPE_LIST = NAME + "." + "list";
+ public static final String TYPE_POST = NAME + "." + "post";
public static final String TYPE_ROOT = NAME + "." + "root";
- public static final String TYPE_WAVE = NAME + "." + "wave";
private ListsConstants() {
}
Deleted: trunk/src/main/java/cc/kune/tasks/client/actions/AbstractOptionsMenu.java
===================================================================
--- trunk/src/main/java/cc/kune/tasks/client/actions/AbstractOptionsMenu.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/java/cc/kune/tasks/client/actions/AbstractOptionsMenu.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -1,32 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.tasks.client.actions;
-
-import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
-import cc.kune.core.client.resources.CoreResources;
-
-public abstract class AbstractOptionsMenu extends MenuDescriptor {
-
- public AbstractOptionsMenu(final CoreResources res) {
- super();
- this.withIcon(res.arrowDownBlack()).withStyles("k-fr");
- }
-
-}
Modified: trunk/src/main/webapp/others/kune-client-actions.xml
===================================================================
--- trunk/src/main/webapp/others/kune-client-actions.xml 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/main/webapp/others/kune-client-actions.xml 2011-08-11 11:40:45 UTC (rev 1491)
@@ -227,6 +227,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -253,6 +254,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -279,6 +281,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -304,6 +307,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -332,6 +336,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -377,6 +382,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -408,6 +414,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -434,6 +441,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -460,6 +468,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -486,6 +495,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -514,6 +524,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -542,6 +553,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -567,6 +579,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -596,6 +609,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -623,6 +637,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -648,6 +663,7 @@
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -668,12 +684,14 @@
</description>
<new-content-title>New Vector Image</new-content-title>
<new-content-textintro>With this gadget you can make a vector
- image with others in real-time</new-content-textintro>
+ image with others in real-time
+ </new-content-textintro>
<enabled>true</enabled>
<typeIds>
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
@@ -694,12 +712,17 @@
</description>
<new-content-title>New Barter</new-content-title>
<new-content-textintro>With this gadget you can propose barters to
- others. Fill up with something you want to give or you something you are looking for, and share with your groups or with the general public. Also you can write more details instead of this text. </new-content-textintro>
+ others. Fill up with something you want to give or you something
+ you are looking for, and share with your groups or with the
+ general public. Also you can write more details instead of this
+ text.
+ </new-content-textintro>
<enabled>true</enabled>
<typeIds>
<typeId origTypeId="docs.folder" destTypeId="docs.doc"/>
<typeId origTypeId="docs.root" destTypeId="docs.doc"/>
<typeId origTypeId="blogs.blog" destTypeId="blogs.post"/>
+ <typeId origTypeId="lists.list" destTypeId="lists.post"/>
</typeIds>
<rol>
<!-- Administrator, Editor, Viewer -->
Modified: trunk/src/test/java/cc/kune/lists/server/ListsServerToolTest.java
===================================================================
--- trunk/src/test/java/cc/kune/lists/server/ListsServerToolTest.java 2011-08-11 08:36:59 UTC (rev 1490)
+++ trunk/src/test/java/cc/kune/lists/server/ListsServerToolTest.java 2011-08-11 11:40:45 UTC (rev 1491)
@@ -21,7 +21,7 @@
import static cc.kune.lists.shared.ListsConstants.TYPE_LIST;
import static cc.kune.lists.shared.ListsConstants.TYPE_ROOT;
-import static cc.kune.lists.shared.ListsConstants.TYPE_WAVE;
+import static cc.kune.lists.shared.ListsConstants.TYPE_POST;
import org.junit.Before;
import org.junit.Test;
@@ -50,12 +50,12 @@
@Test
public void testCreateContentInCorrectContainer() {
- serverTool.checkTypesBeforeContentCreation(TYPE_LIST, TYPE_WAVE);
+ serverTool.checkTypesBeforeContentCreation(TYPE_LIST, TYPE_POST);
}
@Test(expected = ContentNotPermittedException.class)
public void testCreateContentInIncorrectContainer1() {
- serverTool.checkTypesBeforeContentCreation(TYPE_ROOT, TYPE_WAVE);
+ serverTool.checkTypesBeforeContentCreation(TYPE_ROOT, TYPE_POST);
}
}
\ No newline at end of file
More information about the kune-commits
mailing list