2017-07-06 16:16:37 +02:00
|
|
|
//package org.gcube.portlets.widgets.wsexplorer.client;
|
|
|
|
//
|
|
|
|
//import org.gcube.portlets.widgets.wsexplorer.client.notification.WorkspaceExplorerSelectNotification.WorskpaceExplorerSelectNotificationListener;
|
|
|
|
//import org.gcube.portlets.widgets.wsexplorer.client.select.WorkspaceExplorerSelectDialog;
|
|
|
|
//import org.gcube.portlets.widgets.wsexplorer.shared.Item;
|
|
|
|
//
|
|
|
|
//import com.google.gwt.core.client.EntryPoint;
|
|
|
|
//import com.google.gwt.core.shared.GWT;
|
|
|
|
//
|
|
|
|
//
|
2016-05-18 10:22:22 +02:00
|
|
|
///**
|
|
|
|
// * Entry point classes define <code>onModuleLoad()</code>.
|
|
|
|
// */
|
|
|
|
//public class WorkspaceExplorerEntryPoint implements EntryPoint {
|
|
|
|
//
|
|
|
|
// /**
|
|
|
|
// * This is the entry point method.
|
|
|
|
// */
|
|
|
|
// public void onModuleLoad() {
|
2015-12-02 18:37:33 +01:00
|
|
|
//
|
2017-07-06 16:16:37 +02:00
|
|
|
// final WorkspaceExplorerSelectDialog navigator = new WorkspaceExplorerSelectDialog("WorkpspaceExplorer", false);
|
|
|
|
//
|
|
|
|
// WorskpaceExplorerSelectNotificationListener listener = new WorskpaceExplorerSelectNotificationListener() {
|
|
|
|
//
|
|
|
|
// @Override
|
|
|
|
// public void onSelectedItem(Item item) {
|
|
|
|
// GWT.log("onSelectedItem: "+item);
|
|
|
|
// navigator.hide();
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// @Override
|
|
|
|
// public void onFailed(Throwable throwable) {
|
|
|
|
// GWT.log("onFailed..");
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// @Override
|
|
|
|
// public void onAborted() {
|
|
|
|
// GWT.log("onAborted..");
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// @Override
|
|
|
|
// public void onNotValidSelection() {
|
|
|
|
// GWT.log("onNotValidSelection..");
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
// };
|
|
|
|
//
|
|
|
|
// navigator.addWorkspaceExplorerSelectNotificationListener(listener);
|
|
|
|
// navigator.show();
|
2016-05-18 10:22:22 +02:00
|
|
|
// }
|
|
|
|
//}
|