@Override
 public StructureViewBuilder getStructureViewBuilder() {
   Document document = myComponent.getEditor().getDocument();
   VirtualFile file = FileDocumentManager.getInstance().getFile(document);
   if (file == null || !file.isValid()) return null;
   return StructureViewBuilder.PROVIDER.getStructureViewBuilder(
       file.getFileType(), file, myProject);
 }
 @Override
 public void dispose() {
   myComponent.dispose();
 }
 @Override
 public String toString() {
   return "Editor: " + myComponent.getFile();
 }
 public void updateModifiedProperty() {
   myComponent.updateModifiedProperty();
 }
 @Override
 public void selectNotify() {
   myComponent.selectNotify();
 }
 @Override
 public boolean isValid() {
   return myComponent.isEditorValid();
 }
 @Override
 public boolean isModified() {
   return myComponent.isModified();
 }
 /** @see TextEditorComponent#getEditor() */
 @NotNull
 private Editor getActiveEditor() {
   return myComponent.getEditor();
 }