@Override
  public Object getData(@NotNull @NonNls String dataId) {
    if (myDesigner != null) {
      if (PlatformCoreDataKeys.FILE_EDITOR.is(dataId)) {
        return myDesigner.getEditor();
      }
      if (PlatformDataKeys.COPY_PROVIDER.is(dataId) && !isEditing()) {
        return myCopyProvider;
      }
    }
    return null;
  }
@Override
  public Object getData(@NotNull @NonNls String dataId)