From f41616207f52c82977313630066f2487ea82b43e Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 22 Jul 2014 09:30:29 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@98858 82a268e6-3cf1-43bd-a215-b396298e98cf --- .gwt/.gwt-log | 32 ++++++++++++++++++ .../client/DeleteColumnPanel.java | 7 ++++ .../client/resources/ResourceBundle.java | 5 +++ .../client/resources/column-delete.png | Bin 0 -> 839 bytes .../client/resources/column-delete_32.png | Bin 0 -> 1630 bytes .../client/resources/column-delete.png | Bin 0 -> 839 bytes .../client/resources/column-delete_32.png | Bin 0 -> 1630 bytes 7 files changed, 44 insertions(+) create mode 100644 src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete.png create mode 100644 src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete_32.png create mode 100644 src/main/resources/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete.png create mode 100644 src/main/resources/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete_32.png diff --git a/.gwt/.gwt-log b/.gwt/.gwt-log index 2c9973f..c63b4ba 100644 --- a/.gwt/.gwt-log +++ b/.gwt/.gwt-log @@ -5370,3 +5370,35 @@ Compiling... Compilation completed in 0.00 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: 8 seconds) + 30% complete (ETR: 8 seconds) + 40% complete (ETR: 8 seconds) + 40% complete (ETR: 8 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 17.57 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/td/columnwidget/client/DeleteColumnPanel.java b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/DeleteColumnPanel.java index 0be1358..536df68 100644 --- a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/DeleteColumnPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/DeleteColumnPanel.java @@ -5,6 +5,7 @@ import java.util.List; import org.gcube.portlets.user.td.columnwidget.client.progress.DeleteColumnProgressDialog; import org.gcube.portlets.user.td.columnwidget.client.properties.ColumnDataProperties; +import org.gcube.portlets.user.td.columnwidget.client.resources.ResourceBundle; import org.gcube.portlets.user.td.columnwidget.client.utils.UtilsGXT3; import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException; @@ -20,6 +21,7 @@ import com.google.gwt.core.client.Scheduler; import com.google.gwt.core.client.Scheduler.ScheduledCommand; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.web.bindery.event.shared.EventBus; +import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign; import com.sencha.gxt.core.client.IdentityValueProvider; import com.sencha.gxt.core.client.Style.SelectionMode; import com.sencha.gxt.core.client.dom.ScrollSupport.ScrollMode; @@ -172,6 +174,11 @@ public class DeleteColumnPanel extends FramedPanel { // Delete Button delete = new TextButton("Delete"); + delete.setIcon(ResourceBundle.INSTANCE.columnDelete()); + delete.setIconAlign(IconAlign.RIGHT); + delete.setTitle("Delete Column"); + + SelectHandler deleteHandler = new SelectHandler() { public void onSelect(SelectEvent event) { diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/ResourceBundle.java b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/ResourceBundle.java index bbca134..c025931 100644 --- a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/ResourceBundle.java +++ b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/ResourceBundle.java @@ -46,6 +46,11 @@ public interface ResourceBundle extends ClientBundle { @Source("column-add_32.png") ImageResource columnAdd32(); + @Source("column-delete.png") + ImageResource columnDelete(); + + @Source("column-delete_32.png") + ImageResource columnDelete32(); @Source("column-replace.png") ImageResource replace(); diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete.png b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete.png new file mode 100644 index 0000000000000000000000000000000000000000..afa985d702779a1b8de0ac0e9a961ddfca358357 GIT binary patch literal 839 zcmV-N1GxN&P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*)2 z3Kj;pP3@il00PHJL_t(I%T<%lYg}a%hM)7@?>f^-Qj^%E>DZweO$}I5m85}!F1qu_ z%KQNeLU1GQ-MG_*;!?zgM2O%6Z> z4vHC7wGfREBSHJaA)a*TF9|WyE21>cR5!C;@thZ|wsTO-ys=cDL`%TL5X=k=5Gcz) znx+7#Vm?h-diw^`6V;lJ!Aw;RE%|+GM-&4y1TX|A!q2yE(QG!^y?d8x^^`1LnKv+t z(aZ;nglJ$YS)O643`ziTj$St>&pO<`{VUVWM?jDmBBe%rJYiOYZk`dMf`N!(2#Irq z5J-H&@bED8b5ng$V_#Gs1`3KPp!WB8}snEKRD{x3#0c8z;0?=!(6T>l)pUF^7n zUA|)bclP-*y@)rW^ol5_Di84D;zJffDT5RzkI!-XsRcr7o5UQlvyIJNvPz}O>YdZF z{^&E}d%ch~CaRlDZ`}Yfiy<<|MktkvYqGraBMY;SQ8|B^gS|smchAXJQ&%^qvi(c| zUi;wYNSY+I7|lwJsGhuYR5B8}?TnW<-r;=qC*RZ;`Si(GufbIYQ literal 0 HcmV?d00001 diff --git a/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete_32.png b/src/main/java/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete_32.png new file mode 100644 index 0000000000000000000000000000000000000000..924dd6965b50c81b32068cc87f36e572c41c41e6 GIT binary patch literal 1630 zcmV-k2BGPx#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*)2 z3KbY;Z-YJn00rJjL_t(o!_Ak?Z(LUy#((d*cV_IwGcnk4;u<$Cc8MbsAxcpB3M{Iq z0tqS>6#|JBJ9hmKx(2af!HO>U5Qyw7)WWI}LPAxbNXXdvXuu(LjGc}hPvXpY?mg#y zS=^7gj>jphs#hb;z2}~D-se8=bDsAc_$XYLSL{QN`P$_b0HkR6#htEw#u_v-e0rv#d|CJwGCeW$qyF)0uUDfis1W+nwm*vKt7QUnLPV9 zRf2H3f6h2WAurvd7!<7ex;%pNl?{ zw`Dy>YffH${kk<`nJnU#0CJk7?~No;a1Jv&5V$&72G9mU4dOT^P18!7mHkaM8)GI~ z(L$90w20&!?f>3JT!dAH@`TGd$CbCPaOu(|y!V4a25NzNb2>|(8LGnoSfTlLQUE)QaXH4r_os1!jQ5C;Om-6buYWjs&1S z!KXbmXgRA-1obIM?k7)Tpb(*$=kCY_YEeNu2Sdx?UMeqI=bvXg*(a7hP6LP|jq2== zH29P%I4SGLa19i01vm>t2z{?5h$2{Z6^LXn8=7!>ZJDX9o772hD29+)%yw%U{rDHK zQ`4w&ga~s63JVnneXo4~Yo|Xj|9WqO-9P?;(Al9edy3lFC=xkP#qXz#Z*9_j^LMz5 zFXmiaQqBDlsso_&=I^ODBF0XCjOg}1k%#xe2k;(CJ#4p$?%tts_A}Vi zPx1AY6>f}74r)kM16KHeNuJv$Q{TODjsCl<9GjWKt-p)x?PeMI>z(;wc!8;>a>Gm82{`D#5J?2v^1bFxmxwXp3 zsgo=w>qpgsyc(L3+xO8KFpt0UA4Vsd$nG|hrtsOX!n5Zf1f=j319t8ae)Ut_duv3W z{4`TxZ4#YqvPDZ~^!J2JY?}_Mijx5p?1- z%$=j#c|>yk21~6kS;rlhVF0!pwP@ni*RPx92a|%8!Xs1-rP`JWceeQw-&}ixxt(`7 zG5-wl!sl^ugsI_s`*c@tvA)q^Y4R&}wY4Z>+CBszsC`RSmm0B5D!G77^3#u0k5-Qz z#b7g<=9g!`$JzEO=a;WBlU!$1`*>ou;wCG{=Xm>>Z*V_uiI}zpeR=3X@x#1cdF}E? c;$Y7I00``JlA0?ZhX4Qo07*qoM6N<$g601IFaQ7m literal 0 HcmV?d00001 diff --git a/src/main/resources/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete.png b/src/main/resources/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete.png new file mode 100644 index 0000000000000000000000000000000000000000..afa985d702779a1b8de0ac0e9a961ddfca358357 GIT binary patch literal 839 zcmV-N1GxN&P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*)2 z3Kj;pP3@il00PHJL_t(I%T<%lYg}a%hM)7@?>f^-Qj^%E>DZweO$}I5m85}!F1qu_ z%KQNeLU1GQ-MG_*;!?zgM2O%6Z> z4vHC7wGfREBSHJaA)a*TF9|WyE21>cR5!C;@thZ|wsTO-ys=cDL`%TL5X=k=5Gcz) znx+7#Vm?h-diw^`6V;lJ!Aw;RE%|+GM-&4y1TX|A!q2yE(QG!^y?d8x^^`1LnKv+t z(aZ;nglJ$YS)O643`ziTj$St>&pO<`{VUVWM?jDmBBe%rJYiOYZk`dMf`N!(2#Irq z5J-H&@bED8b5ng$V_#Gs1`3KPp!WB8}snEKRD{x3#0c8z;0?=!(6T>l)pUF^7n zUA|)bclP-*y@)rW^ol5_Di84D;zJffDT5RzkI!-XsRcr7o5UQlvyIJNvPz}O>YdZF z{^&E}d%ch~CaRlDZ`}Yfiy<<|MktkvYqGraBMY;SQ8|B^gS|smchAXJQ&%^qvi(c| zUi;wYNSY+I7|lwJsGhuYR5B8}?TnW<-r;=qC*RZ;`Si(GufbIYQ literal 0 HcmV?d00001 diff --git a/src/main/resources/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete_32.png b/src/main/resources/org/gcube/portlets/user/td/columnwidget/client/resources/column-delete_32.png new file mode 100644 index 0000000000000000000000000000000000000000..924dd6965b50c81b32068cc87f36e572c41c41e6 GIT binary patch literal 1630 zcmV-k2BGPx#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*)2 z3KbY;Z-YJn00rJjL_t(o!_Ak?Z(LUy#((d*cV_IwGcnk4;u<$Cc8MbsAxcpB3M{Iq z0tqS>6#|JBJ9hmKx(2af!HO>U5Qyw7)WWI}LPAxbNXXdvXuu(LjGc}hPvXpY?mg#y zS=^7gj>jphs#hb;z2}~D-se8=bDsAc_$XYLSL{QN`P$_b0HkR6#htEw#u_v-e0rv#d|CJwGCeW$qyF)0uUDfis1W+nwm*vKt7QUnLPV9 zRf2H3f6h2WAurvd7!<7ex;%pNl?{ zw`Dy>YffH${kk<`nJnU#0CJk7?~No;a1Jv&5V$&72G9mU4dOT^P18!7mHkaM8)GI~ z(L$90w20&!?f>3JT!dAH@`TGd$CbCPaOu(|y!V4a25NzNb2>|(8LGnoSfTlLQUE)QaXH4r_os1!jQ5C;Om-6buYWjs&1S z!KXbmXgRA-1obIM?k7)Tpb(*$=kCY_YEeNu2Sdx?UMeqI=bvXg*(a7hP6LP|jq2== zH29P%I4SGLa19i01vm>t2z{?5h$2{Z6^LXn8=7!>ZJDX9o772hD29+)%yw%U{rDHK zQ`4w&ga~s63JVnneXo4~Yo|Xj|9WqO-9P?;(Al9edy3lFC=xkP#qXz#Z*9_j^LMz5 zFXmiaQqBDlsso_&=I^ODBF0XCjOg}1k%#xe2k;(CJ#4p$?%tts_A}Vi zPx1AY6>f}74r)kM16KHeNuJv$Q{TODjsCl<9GjWKt-p)x?PeMI>z(;wc!8;>a>Gm82{`D#5J?2v^1bFxmxwXp3 zsgo=w>qpgsyc(L3+xO8KFpt0UA4Vsd$nG|hrtsOX!n5Zf1f=j319t8ae)Ut_duv3W z{4`TxZ4#YqvPDZ~^!J2JY?}_Mijx5p?1- z%$=j#c|>yk21~6kS;rlhVF0!pwP@ni*RPx92a|%8!Xs1-rP`JWceeQw-&}ixxt(`7 zG5-wl!sl^ugsI_s`*c@tvA)q^Y4R&}wY4Z>+CBszsC`RSmm0B5D!G77^3#u0k5-Qz z#b7g<=9g!`$JzEO=a;WBlU!$1`*>ou;wCG{=Xm>>Z*V_uiI}zpeR=3X@x#1cdF}E? c;$Y7I00``JlA0?ZhX4Qo07*qoM6N<$g601IFaQ7m literal 0 HcmV?d00001