added code to start the example
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133933 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4884e90347
commit
f5b1f324cb
|
@ -5,6 +5,7 @@ import java.util.List;
|
|||
|
||||
import org.gcube.portlets.widgets.ckandatapublisherwidget.client.ui.CreateDatasetForm;
|
||||
import org.gcube.portlets.widgets.ckandatapublisherwidget.client.ui.MetaDataFieldSkeleton;
|
||||
import org.gcube.portlets.widgets.ckandatapublisherwidget.client.ui.TwinColumnSelection.TwinColumnSelectionMainPanel;
|
||||
import org.gcube.portlets.widgets.ckandatapublisherwidget.shared.DataType;
|
||||
import org.gcube.portlets.widgets.ckandatapublisherwidget.shared.MetadataFieldWrapper;
|
||||
|
||||
|
@ -32,7 +33,15 @@ public class CKanMetadataPublisher implements EntryPoint {
|
|||
|
||||
// remove comment to the below line for testing the widget
|
||||
//startExample();
|
||||
// testMetadata();
|
||||
//testMetadata();
|
||||
//testSelectionPanel();
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private void testSelectionPanel() {
|
||||
|
||||
RootPanel.get("ckan-metadata-publisher-div").add(new TwinColumnSelectionMainPanel());
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue