@Nullable
  public File getDefaultSdkWorkDir(@NotNull Module module) {
    final String version = GriffonLibraryPresentationProvider.getGriffonVersion(module);
    if (version == null) return null;

    return new File(getUserHomeGriffon(), version);
  }
  @Override
  public VirtualFile getSdkRoot(@Nullable Module module) {
    VirtualFile coreJar = findCoreJar(module);
    if (coreJar == null) return null;

    if (GriffonLibraryPresentationProvider.isGriffonCoreJar(coreJar)) {
      final VirtualFile parent = coreJar.getParent();
      if (parent != null) {
        return parent.getParent();
      }
    }
    return null;
  }
 @Override
 public boolean isSDKLibrary(Library library) {
   return GriffonLibraryPresentationProvider.isGriffonSdk(library.getFiles(OrderRootType.CLASSES));
 }
 @Override
 protected boolean isCoreJar(@NotNull VirtualFile localFile) {
   return GriffonLibraryPresentationProvider.isGriffonCoreJar(localFile);
 }