Class FileModificationValidationContext


  • public class FileModificationValidationContext
    extends Object
    A context that is used in conjunction with the FileModificationValidator to indicate that UI-based validation is desired.

    This class is not intended to be instantiated or subclassed by clients.

    Since:
    3.3
    See Also:
    FileModificationValidator
    • Method Detail

      • getShell

        public Object getShell()
        Return the org.eclipse.swt.widgets.Shell that is to be used to parent any dialogs with the user, or null if there is no UI context available (declared as an Object to avoid any direct references on the SWT component). If there is no shell, the FileModificationValidator may still perform UI-based validation if they can obtain a Shell from another source.
        Returns:
        the org.eclipse.swt.widgets.Shell that is to be used to parent any dialogs with the user, or null