public void onApplicationEvent(ApplicationEvent event) {
logger.debug(event);
if (event instanceof XsAnalyzerApplicationEvent) {
switch (((XsAnalyzerApplicationEvent) event).getEventType()) {
case OPEN:
jtStructure.setModel(new TreeModelAdapter(model.getSchemaModel()));
StatusBar bar = Application.instance().getLifecycleAdvisor().getStatusBar();
bar.setMessage(getMessage("statusBar.label.action.open", new Object[] { model.getSchemaFile().getAbsolutePath()}));
break;
}
}