@Override public IStatus validateEdit(IFile[] files, FileModificationValidationContext context) { // TODO Auto-generated method stub System.out.println("EDIT HOOK"); for(IFile item : files) { System.out.println(item.getName()); } return null; //new s //return Status.OK; // return IStatus.OK; //return null; }
@Override public IStatus validateEdit(final IFile[] files, final FileModificationValidationContext context) { boolean attemptUi; Object shell; if (context == null) { attemptUi = false; shell = null; } else { attemptUi = true; shell = context.getShell(); } return validator.validateEdit(files, attemptUi, shell); }