@Override
 public void createPages() {
   super.createPages();
   URI resourceURI =
       EditUIUtil.getURI(getEditorInput(), editingDomain.getResourceSet().getURIConverter());
   selectionViewer.setInput(editingDomain.getResourceSet().getResource(resourceURI, true));
 }
 public void createModel() {
   super.createModel();
   URI resourceURI =
       EditUIUtil.getURI(getEditorInput(), editingDomain.getResourceSet().getURIConverter());
   editingDomain
       .getResourceToReadOnlyMap()
       .put(editingDomain.getResourceSet().getResource(resourceURI, true), true);
 }