public class FileModificationUtil
extends java.lang.Object
Constructor and Description |
---|
FileModificationUtil() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.core.runtime.IStatus |
approveFileModification(org.eclipse.gmf.runtime.common.core.command.ICommand command)
Approves the modification of the affected files in
command . |
static org.eclipse.core.runtime.IStatus |
approveFileModification(java.util.List candidates)
Approves the modification of the
files . |
public static org.eclipse.core.runtime.IStatus approveFileModification(org.eclipse.gmf.runtime.common.core.command.ICommand command)
command
.command
- the command to be approvedOK
status means the files were
approved. All other statuses indicate that the files were not
approved for modification.public static org.eclipse.core.runtime.IStatus approveFileModification(java.util.List candidates)
files
.candidates
- the files to checkOK
status means the files were
approved. All other statuses indicate that the files were not
approved for modification.