}
IStructuredModel model = (IStructuredModel)sourceEditor.getAdapter(IStructuredModel.class);
try {
serviceEditor = new ClickServiceEditor();
addPage(0, serviceEditor, getEditorInput());
serviceEditor.initModel(model);
setPageText(0, ClickPlugin.getString("editor.clickXML.service"));
sourceEditorIndex++;
} catch(Exception ex){