class STKValidatorSupport extends DefaultValidatorSupport {

    @Override
    public void setValidationResult(ValidationStatus successful, String message)
    {
        if (successful == ValidationStatus.ERROR)
        {
            Notify.error(message, Method.TOAST);
        }
        else if (successful == ValidationStatus.WARNING)
        {
            Notify.warn(message, Method.TOAST);
        }

        boolean success = successful != ValidationStatus.ERROR;

        if (!success)
        {
            mySource.setLoadError(true, this);
            mySourceController.deactivateSource(mySource);
        }
    }

    public  STKValidatorSupport(IDataSource server, STKServerController controller);

}