public Object execute(ExecutionEvent event) throws ExecutionException {
   selectedFolders = new IFolder[1];
   selectedFolders[0] = ResourceUtils.getFolder();
   shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();
   run(null);
   return null;
 }
  public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {

    //		boolean foundXML = false;
    //		boolean foundLog = false;

    if (property.endsWith("members_extension")) {
      IFolder folder = getFolder();
      if (folder != null) { // && folder.getName().toLowerCase().indexOf("logger")!=-1

        try {
          List<IFile> allLogFiles = ResourceUtils.collectFiles(folder, "log", "log_");
          if (allLogFiles.size() > 0) {
            return true;
          }
        } catch (CoreException e) {
          e.printStackTrace();
        }
        //				try {
        //					IResource[] resources = folder.members();
        //					int i = 0;
        //					while(!foundXML && (i < resources.length)){
        //						if(resources[i] instanceof IFile){
        //							IFile currentFile = (IFile) resources[i];
        //							foundXML = currentFile.getName().endsWith(expectedValue.toString());
        //							foundLog = currentFile.getName().endsWith(".log");
        //						}
        //						i++;
        //					}
        //				} catch (CoreException e) {
        //					e.printStackTrace();
        //				}
      }
    }
    return false;
  }