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() {
|
public void onModuleLoad() {
|
||||||
|
|
||||||
final WorkspaceExplorerSelectDialog navigator = new WorkspaceExplorerSelectDialog("WorkpspaceExplorer", false);
|
// final WorkspaceExplorerSelectDialog navigator = new WorkspaceExplorerSelectDialog("WorkpspaceExplorer", false);
|
||||||
|
//
|
||||||
WorskpaceExplorerSelectNotificationListener listener = new WorskpaceExplorerSelectNotificationListener() {
|
// WorskpaceExplorerSelectNotificationListener listener = new WorskpaceExplorerSelectNotificationListener() {
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void onSelectedItem(Item item) {
|
// public void onSelectedItem(Item item) {
|
||||||
GWT.log("onSelectedItem: "+item);
|
// GWT.log("onSelectedItem: "+item);
|
||||||
navigator.hide();
|
// navigator.hide();
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void onFailed(Throwable throwable) {
|
// public void onFailed(Throwable throwable) {
|
||||||
GWT.log("onFailed..");
|
// GWT.log("onFailed..");
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void onAborted() {
|
// public void onAborted() {
|
||||||
GWT.log("onAborted..");
|
// GWT.log("onAborted..");
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public void onNotValidSelection() {
|
// public void onNotValidSelection() {
|
||||||
GWT.log("onNotValidSelection..");
|
// GWT.log("onNotValidSelection..");
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
};
|
// };
|
||||||
|
//
|
||||||
navigator.addWorkspaceExplorerSelectNotificationListener(listener);
|
// navigator.addWorkspaceExplorerSelectNotificationListener(listener);
|
||||||
navigator.show();
|
// navigator.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue