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

View File

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