@Override
      public boolean canStartDragging(DnDAction action, @NotNull Point dragOrigin) {
        int index = locationToIndex(dragOrigin);
        if (index != -1 && myDesigner != null) {
          PaletteItem paletteItem = myGroup.getItems().get(index);
          myDesigner.activatePaletteItem(paletteItem);
        }
        return false;
      }
@Override
      public boolean canStartDragging(DnDAction action, @NotNull Point dragOrigin)