return wodEditor;
}
public void createTab() {
templateEditor = new TemplateEditor();
IEditorSite htmlSite = this.getComponentEditorPart().publicCreateSite(templateEditor);
try {
templateEditor.init(htmlSite, htmlInput);
} catch (PartInitException e) {
ComponenteditorPlugin.getDefault().log(e);
}
_templateContainer = createInnerPartControl(getParentSashForm(), templateEditor);
templateEditor.addPropertyListener(new IPropertyListener() {
public void propertyChanged(Object source, int propertyId) {
HtmlWodTab.this.getComponentEditorPart().publicHandlePropertyChange(propertyId);
}
});
if (wodInput != null && ((ComponentEditorFileEditorInput)wodInput).getFile().exists()) {
wodEditor = new WodEditor();
IEditorSite wodSite = this.getComponentEditorPart().publicCreateSite(wodEditor);
try {
wodEditor.init(wodSite, wodInput);
} catch (PartInitException e) {
ComponenteditorPlugin.getDefault().log(e);
}