public IEditorPart getActiveEmbeddedEditor() {
return htmlPreviewEditor;
}
public void createTab() {
htmlPreviewEditor = new HtmlPreviewEditor();
IEditorSite htmlSite = this.getComponentEditorPart().publicCreateSite(htmlPreviewEditor);
try {
htmlPreviewEditor.init(htmlSite, htmlInput);
} catch (PartInitException e) {
ComponenteditorPlugin.getDefault().log(e);