net.refractions.udig.validation
Class OpUtils

java.lang.Object
  extended by net.refractions.udig.validation.OpUtils

public class OpUtils
extends java.lang.Object

A utility class which provides a method to notify the user of the validation results, and a method selection features which failed the validation on the current layer.

Since:
1.0.1
Author:
chorner

Constructor Summary
OpUtils()
           
 
Method Summary
static void notifyUser(Display display, GenericValidationResults results)
          Notifies the user of the result of the validation.
static void setSelection(ILayer layer, GenericValidationResults results)
          Given a layer and validation result, this method creates a fid filter and selects the features in the current layer which failed the validation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpUtils

public OpUtils()
Method Detail

notifyUser

public static void notifyUser(Display display,
                              GenericValidationResults results)
Notifies the user of the result of the validation. Currently, this method displays a crude pop-up window, but one day... it will populate the analysis window

Parameters:
display -
evaluationObject -
results -

setSelection

public static void setSelection(ILayer layer,
                                GenericValidationResults results)
                         throws FactoryConfigurationError
Given a layer and validation result, this method creates a fid filter and selects the features in the current layer which failed the validation.

Parameters:
layer -
results -
Throws:
FactoryConfigurationError