AxisStyleUI asu = (AxisStyleUI) table.getExtensions().get(AxisStyleUI.ID);
analysis.setLevelStyle(asu.isLevelStyle());
analysis.setHideSpans(asu.isHideSpans());
Memento olapMem = (Memento) olapModel.getBookmarkState(0);
analysis.setMdxQuery(olapMem.getMdxQuery());
// only if we have an xmla model
// logger.info(olapModel.getClass().getName());
/*
if (olapModel.getBookmarkState(0) instanceof MondrianMemento) {