com.microfocus.zserver.zexplorer.ui

## Interface IControlValidationResult

-     public interface IControlValidationResult

  This interface is used to to create validation messages for a specific `Control` in the z/Server settings dialog.

  Copyright Micro Focus GmbH.

  Author:
    NicolasP

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.eclipse.swt.widgets.Control` | `getControl()` This method should return the `Control` which validation was not valid.
    `java.lang.String` | `getMessage()` This method should return the message to the corresponding `Control` that did not pass the validation.

- - ### Method Detail

    - #### getControl

          org.eclipse.swt.widgets.Control getControl()

      This method should return the `Control` which validation was not valid. The `getMessage()` method should return the corresponding error message for this `Control` which is going to be showed in the z/Server settings dialog.
      Returns:
        the `Control` which did not pass the validation.

    - #### getMessage

          java.lang.String getMessage()

      This method should return the message to the corresponding `Control` that did not pass the validation. The message is going to be shown in the z/Server settings dialog.
      Returns:
        a message to the corresponding `Control` that did not pass the validation.

Copyright © 2015 Micro Focus GmbH. All rights reserved.