|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.util.UIModificationValidator
A validator responsible for doing the actual validation on files. The validation determines whether files may be modified. It delegates to IWorkspace's validateEdit and supplies a UI context from the active shell if available.
| Constructor Summary | |
UIModificationValidator()
Constructs a UI modification validator and initializes the UI context |
|
| Method Summary | |
void |
dispose()
Disposes this UI modification validator. |
IStatus |
validateEdit(IFile[] files)
Validates whether the array of IFile objects may be modified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIModificationValidator()
| Method Detail |
public IStatus validateEdit(IFile[] files)
IModificationValidator
validateEdit in interface IModificationValidatorfiles - an array of the IFile objects that will be modified
public void dispose()
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.