git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@167668 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
29e0405e97
commit
3c2b2778be
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue