this.firePropertyChange("mondrianSchemaFilename", oldVal, mondrianSchemaFilename);
}
public void chooseFile() throws AggDesignerException {
try {
XulFileDialog fc = (XulFileDialog) document.createElement("filedialog");
RETURN_CODE retVal;
if (getLastFile() != null) {
retVal = fc.showOpenDialog(getLastFile());
} else {
retVal = fc.showOpenDialog();
}
if (retVal == RETURN_CODE.OK) {
File selectedFile = (File) fc.getFile();
setLastFile(selectedFile);
setMondrianSchemaFilename(((File)fc.getFile()).getAbsolutePath());
}
} catch (Exception e) {
logger.error("Error showing file chooser", e);
throw new AggDesignerException(e);