@Override
protected void doExecuteCommand() {
JFileChooser jfc = new JFileChooser();
jfc.setFileFilter(new XSAnalyzerDefaultFileFilter());
Memento memento = new JFileChooserMemento(jfc);
memento.restoreState(settings);
int result = jfc.showOpenDialog(getParentWindowControl());
if (JFileChooser.APPROVE_OPTION == result) {
memento.saveState(settings);
XsAnalyzerApplicationModel appmodel = (XsAnalyzerApplicationModel) Application.instance().getApplicationContext().getBean("applicationModel");
appmodel.setSchemaFile(jfc.getSelectedFile());
appmodel.setSchemaModel(XsModelFactory.createXsModel(appmodel.getSchemaFile()));
Application.instance().getApplicationContext().publishEvent(new XsAnalyzerApplicationEvent(EventType.OPEN, this));
}