protected void createEditorPages() throws PartInitException
{
addDeferredPage( PAGE_CALENDAR, PAGE_CALENDAR );
addDeferredPage( PAGE_CONTACTS, PAGE_CONTACTS );
this.calendarSourceEditor = new StructuredTextEditor();
this.calendarSourceEditor.setEditorPart(this);
final FileEditorInput rootEditorInput = (FileEditorInput) getEditorInput();
int index = addPage( this.calendarSourceEditor, rootEditorInput );
setPageText( index, "calendar.xml" );
this.contactsSourceEditor = new StructuredTextEditor();
this.contactsSourceEditor.setEditorPart(this);
final IFile contactsFile = rootEditorInput.getFile().getParent().getFile( new Path( "contacts.xml" ) );
index = addPage( this.contactsSourceEditor, new FileEditorInput( contactsFile ) );