net.refractions.udig.tools.edit.validator
Class ValidHoleValidator

java.lang.Object
  extended by net.refractions.udig.tools.edit.validator.ValidHoleValidator
All Implemented Interfaces:
IEditValidator

public class ValidHoleValidator
extends java.lang.Object
implements IEditValidator

Returns true if:

Since:
1.1.0
Author:
Jesse

Field Summary
 
Fields inherited from interface net.refractions.udig.tools.edit.behaviour.IEditValidator
TRUE
 
Constructor Summary
ValidHoleValidator()
           
 
Method Summary
 java.lang.String isValid(EditToolHandler handler, MapMouseEvent event, EventType type)
          Returns null if the validator considers the state to be "legal" for the new event or a string which is the human readable message describing the problem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidHoleValidator

public ValidHoleValidator()
Method Detail

isValid

public java.lang.String isValid(EditToolHandler handler,
                                MapMouseEvent event,
                                EventType type)
Description copied from interface: IEditValidator
Returns null if the validator considers the state to be "legal" for the new event or a string which is the human readable message describing the problem.

Specified by:
isValid in interface IEditValidator
Parameters:
handler - the handler to use for obtaining the state
event - the event that just occurred.
type - they type of event
Returns:
null if the validator considers the state to be "legal" for the new event or a string which is the human readable message describing the problem.