428: TDM - Support the new Workspace Explorer
Task-Url: https://support.d4science.org/issues/428 Updated support to workspace explorer git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-json-export-widget@117651 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0eb972042b
commit
ec07b64836
|
@ -88,6 +88,7 @@ public class JSONWorkSpaceSelectionCard extends WizardCard {
|
|||
|
||||
wpanel = new WorkspaceExplorerSelectPanel(new String(
|
||||
"Workspace Selection"), selectableTypes, showableTypes);
|
||||
//wpanel.getElement().setAttribute("background-color", "white");
|
||||
|
||||
WorskpaceExplorerSelectNotificationListener handler = new WorskpaceExplorerSelectNotificationListener() {
|
||||
|
||||
|
@ -114,15 +115,22 @@ public class JSONWorkSpaceSelectionCard extends WizardCard {
|
|||
Log.debug("WorkspaceExplorer Aborted");
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNotValidSelection() {
|
||||
thisCard.exportSession.setItemId(null);
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
wpanel.addWorkspaceExplorerSelectNotificationListener(handler);
|
||||
|
||||
|
||||
// /
|
||||
p.add(new FieldLabel(wpanel, "Folder"), new VerticalLayoutData(1, 1));
|
||||
|
||||
setContent(formPanel);
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected void checkExportData() {
|
||||
|
|
Loading…
Reference in New Issue