git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/grsf-manage-widget@160629 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-12-18 10:26:32 +00:00
parent 6dcfdc361d
commit e2ba70b08d
3 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,10 @@
package org.gcube.datacatalogue.grsf_manage_widget.client; package org.gcube.datacatalogue.grsf_manage_widget.client;
import org.gcube.datacatalogue.grsf_manage_widget.client.view.ManageProductWidget;
import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.RootPanel;
/** /**
* Entry point classes define <code>onModuleLoad()</code>. * Entry point classes define <code>onModuleLoad()</code>.
@ -11,7 +15,7 @@ public class GRSFManageWidget implements EntryPoint {
* This is the entry point method. * This is the entry point method.
*/ */
public void onModuleLoad(){ public void onModuleLoad(){
//HandlerManager eventBus = new HandlerManager(null); HandlerManager eventBus = new HandlerManager(null);
//RootPanel.get("manageDiv").add(new ManageProductWidget("fffb6167-b570-42a8-92b9-5be28549c3b8", eventBus)); RootPanel.get("manageDiv").add(new ManageProductWidget("fffb6167-b570-42a8-92b9-5be28549c3b8", eventBus));
} }
} }

View File

@ -168,7 +168,7 @@ public class ManageProductWidget extends Composite{
// show modal // show modal
manageProductModal.show(); manageProductModal.show();
manageProductModal.setWidth("45%"); manageProductModal.addStyleName("management-metadata-modal-style");
// async request to fetch the product // async request to fetch the product
retrieveProductBean(productIdentifier); retrieveProductBean(productIdentifier);

View File

@ -3,4 +3,10 @@
background: white url("../img/validation_error_icon.gif") background: white url("../img/validation_error_icon.gif")
no-repeat left center; no-repeat left center;
padding-left: 15px !important; padding-left: 15px !important;
}
/** For the modal **/
.management-metadata-modal-style {
width: 45% !important;
margin-left: -15% !important;
} }