use of com.evolveum.midpoint.web.component.wizard.resource.component.XmlEditorPanel in project midpoint by Evolveum.
the class SchemaStep method createSchemaEditor.
private ITab createSchemaEditor() {
return new AbstractTab(createStringModel("SchemaStep.xml")) {
@Override
public WebMarkupContainer getPanel(String panelId) {
XmlEditorPanel xmlEditorPanel = new XmlEditorPanel(panelId, createXmlEditorModel());
// quick fix: now changes from XmlEditorPanel are not saved anyhow
//(e.g. by clicking Finish button in wizard). For now,
//panel is made disabled for editing
AceEditor aceEditor = (AceEditor) xmlEditorPanel.get(ID_ACE_EDITOR);
aceEditor.setReadonly(true);
return xmlEditorPanel;
}
};
}
Aggregations