Class LocalStringDialog.LanguageCodeNotExistValidator

  • Enclosing class:
    LocalStringDialog

    protected class LocalStringDialog.LanguageCodeNotExistValidator
    extends org.eclipse.core.databinding.validation.MultiValidator
    Show warning indicator for ui editor items associated with unknown language code
    • Field Summary

      • Fields inherited from class org.eclipse.core.databinding.ValidationStatusProvider

        disposed
    • Constructor Summary

      Constructors 
      Constructor Description
      LanguageCodeNotExistValidator​(org.eclipse.jface.databinding.swt.ISWTObservableValue<?> value, String languageCode)
      Create validation for editor items associated with unknown language code
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.core.runtime.IStatus validate()  
      • Methods inherited from class org.eclipse.core.databinding.validation.MultiValidator

        dispose, getModels, getTargets, getValidationStatus, observeValidatedList, observeValidatedMap, observeValidatedSet, observeValidatedValue, revalidate
      • Methods inherited from class org.eclipse.core.databinding.ValidationStatusProvider

        isDisposed
    • Constructor Detail

      • LanguageCodeNotExistValidator

        public LanguageCodeNotExistValidator​(org.eclipse.jface.databinding.swt.ISWTObservableValue<?> value,
                                             String languageCode)
        Create validation for editor items associated with unknown language code
        Parameters:
        value - the ISWTObservableValue for validate, cannot be null
        languageCode - the unknown language code, used for ui message, cannot be null
    • Method Detail

      • validate

        protected org.eclipse.core.runtime.IStatus validate()
        Specified by:
        validate in class org.eclipse.core.databinding.validation.MultiValidator