From 4884e903476330326ae32dc260cdb41d54a20c70 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Sun, 6 Nov 2016 21:01:43 +0000 Subject: [PATCH] added more code to the selection panel git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133932 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../TwinColumnSelectionMainPanel.java | 25 ++++++++++- .../TwinColumnSelectionMainPanel.ui.xml | 43 +++++++++---------- 2 files changed, 45 insertions(+), 23 deletions(-) diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.java b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.java index f73eb46..7f42ac0 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.java +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.java @@ -1,19 +1,42 @@ package org.gcube.portlets.widgets.ckandatapublisherwidget.client.ui.TwinColumnSelection; +import com.github.gwtbootstrap.client.ui.Button; import com.google.gwt.core.client.GWT; import com.google.gwt.uibinder.client.UiBinder; +import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.ui.Composite; +import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.Widget; +/** + * The twin column panels for selection of the files to attach to the catalague product. + * @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it) + * + */ public class TwinColumnSelectionMainPanel extends Composite{ + + @UiField + VerticalPanel leftColumn; + @UiField + VerticalPanel rightColumn; + @UiField + Button addToSelected; + @UiField + Button addToSelectedWithChild; + @UiField + Button addToUnselected; + private static TwinColumnSelectionMainPanelUiBinder uiBinder = GWT .create(TwinColumnSelectionMainPanelUiBinder.class); interface TwinColumnSelectionMainPanelUiBinder extends - UiBinder { + UiBinder { } + /** + * Constructor + */ public TwinColumnSelectionMainPanel() { initWidget(uiBinder.createAndBindUi(this)); } diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.ui.xml b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.ui.xml index 9b2de08..bd31337 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.ui.xml +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/TwinColumnSelection/TwinColumnSelectionMainPanel.ui.xml @@ -2,28 +2,27 @@ - .simple-panel-style { - border: medium; - border-color: black; - } + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + \ No newline at end of file