@Override
  public void disposeUIResources() {
    if (myTextModel.isDefault() || myTextModel.getRawText().isEmpty()) {
      PropertiesComponent.getInstance().unsetValue(PREVIEW_TEXT_KEY);
    }
    else {
      PropertiesComponent.getInstance().setValue(PREVIEW_TEXT_KEY, myTextModel.getRawText());
    }
    EditorFactory.getInstance().releaseEditor(myEditor);
  }
@Override
  public void disposeUIResources()