package org.gcube.portlets.widgets.ckandatapublisherwidget.client; import org.gcube.portlets.widgets.ckandatapublisherwidget.client.ui.EditMetadataForm; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; /** * Entry point classes define onModuleLoad(). */ public class CKanMetadataPublisher implements EntryPoint { /** * This is the entry point method. */ public void onModuleLoad() { // remove comment to the below line for testing the widget startExample(); } private void startExample() { String idFolderWorkspace = "06bc1ca7-bf1b-4797-b0a4-cb8a55a9c189"; String owner = "costantino.perciante"; RootPanel.get("ckan-metadata-publisher-div").add(new EditMetadataForm(idFolderWorkspace, owner)); } }