git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/grsf-manage-widget@161831 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-12-22 11:28:24 +00:00
parent a6bc09f3d6
commit 3f3980e7b7
2 changed files with 10 additions and 6 deletions

View File

@ -62,6 +62,9 @@ public class ManageProductWidget extends Composite{
UiBinder<Widget, ManageProductWidget> { UiBinder<Widget, ManageProductWidget> {
} }
@UiField
VerticalPanel container;
@UiField @UiField
Modal manageProductModal; Modal manageProductModal;
@ -399,11 +402,9 @@ public class ManageProductWidget extends Composite{
* @param statusUpdateError * @param statusUpdateError
*/ */
protected void showInfo(String statusUpdateError, AlertType type) { protected void showInfo(String statusUpdateError, AlertType type) {
infoBlock.setText(statusUpdateError); infoBlock.setText(statusUpdateError);
infoBlock.setType(type); infoBlock.setType(type);
infoBlock.setVisible(true); infoBlock.setVisible(true);
} }
} }

View File

@ -10,7 +10,7 @@
<g:HTMLPanel> <g:HTMLPanel>
<b:Modal ui:field="manageProductModal" title="Manage item" <b:Modal ui:field="manageProductModal" title="Manage item"
backdrop="STATIC" keyboard="true" animation="true" closeVisible="true"> backdrop="STATIC" keyboard="true" animation="true" closeVisible="true">
<g:VerticalPanel width="100%"> <g:VerticalPanel width="100%" ui:field="container">
<!-- Loader image at the beginning --> <!-- Loader image at the beginning -->
<b:Image ui:field="loadingImage" styleName="{style.loader-image}" <b:Image ui:field="loadingImage" styleName="{style.loader-image}"
@ -86,7 +86,8 @@
<b>Source(s):</b> <b>Source(s):</b>
</b:ControlLabel> </b:ControlLabel>
<b:Controls> <b:Controls>
<g:VerticalPanel ui:field="panelForSourceItems" width="100%"> <g:VerticalPanel ui:field="panelForSourceItems"
width="100%">
</g:VerticalPanel> </g:VerticalPanel>
</b:Controls> </b:Controls>
</b:ControlGroup> </b:ControlGroup>
@ -96,7 +97,8 @@
<b>Similar GRSF Records:</b> <b>Similar GRSF Records:</b>
</b:ControlLabel> </b:ControlLabel>
<b:Controls> <b:Controls>
<g:VerticalPanel ui:field="panelForSimilarGRSFRecords" width="100%"> <g:VerticalPanel ui:field="panelForSimilarGRSFRecords"
width="100%">
</g:VerticalPanel> </g:VerticalPanel>
</b:Controls> </b:Controls>
</b:ControlGroup> </b:ControlGroup>
@ -106,7 +108,8 @@
<b>Suggest connections with other records:</b> <b>Suggest connections with other records:</b>
</b:ControlLabel> </b:ControlLabel>
<b:Controls> <b:Controls>
<g:VerticalPanel ui:field="panelForConnectOtherRecords" width="100%"> <g:VerticalPanel ui:field="panelForConnectOtherRecords"
width="100%">
</g:VerticalPanel> </g:VerticalPanel>
</b:Controls> </b:Controls>
</b:ControlGroup> </b:ControlGroup>