@Override
  public @Nullable Object getData(@NotNull String dataId) {
    if (PlatformCoreDataKeys.HELP_ID.is(dataId)) {
      return ourHelpID;
    }
    if (CommonDataKeys.PROJECT.is(dataId)) {
      return myProject;
    }
    if (PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) {
      PaletteItem item = getActiveItem();
      PaletteGroup group = getActiveGroup();
      DataProvider provider1 = item == null ? null : (DataProvider)item.getData(myProject, dataId);
      DataProvider provider2 = group == null ? null : (DataProvider)group.getData(myProject, dataId);
      if (provider1 == null && provider2 == null) return null;
      return provider1 == null ? provider2 : CompositeDataProvider.compose(provider1, provider2);
    }
    PaletteItem item = getActiveItem();
    if (item != null) {
      Object data = item.getData(myProject, dataId);
      if (data != null) return data;
    }
    PaletteGroup group = getActiveGroup();
    if (group != null) {
      return group.getData(myProject, dataId);
    }
    return null;
  }
@Override
  public @Nullable Object getData(@NotNull String dataId)