}
public void restoreWorkspace(WorkspaceSetting w, int context) {
Workspace ws = (Workspace)w;
if (ws.reportName != null) {
ReportDefinition def = ReportUtil.getFromName(ws.reportName);
if (def != null)
reportChoice.setSelectedItem(def);
}
if (ws.fieldArrayName != null) {
SpreadSheetFieldArray s = (SpreadSheetFieldArray) Dictionary.get(reportDefinition.getMainSpreadsheetCategory(),ws.fieldArrayName);