This commit is contained in:
Massimiliano Assante 2018-05-22 14:52:00 +00:00
parent 29e0405e97
commit 3c2b2778be
1 changed files with 31 additions and 31 deletions

View File

@ -18,36 +18,36 @@ public class WorkspaceExplorerEntryPoint implements EntryPoint {
*/
public void onModuleLoad() {
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();
// 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();
}
}