net.refractions.udig.validation
Class ValidateLineMustBeASinglePart

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

public class ValidateLineMustBeASinglePart
extends java.lang.Object

Overrides the FeatureValidationOp abstract class to return LineMustBeASinglePartValidation()

Since:
1.0.1
Author:
chorner

Field Summary
 GenericValidationResults results
           
 
Constructor Summary
ValidateLineMustBeASinglePart()
           
 
Method Summary
protected  boolean canValidate(FeatureType featureType)
          This method may be overridden for classes which only validate certain featureTypes
protected  Dialog getDialog(Shell shell, FeatureType featureType)
          This method may be overridden for classes which need a dialog for user input
 FeatureValidation getValidator()
           
 void op(Display display, java.lang.Object target, IProgressMonitor monitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

results

public GenericValidationResults results
Constructor Detail

ValidateLineMustBeASinglePart

public ValidateLineMustBeASinglePart()
Method Detail

getValidator

public FeatureValidation getValidator()
Returns:
the appropriate Validating Feature Method Class

canValidate

protected boolean canValidate(FeatureType featureType)
This method may be overridden for classes which only validate certain featureTypes

Returns:
boolean

op

public void op(Display display,
               java.lang.Object target,
               IProgressMonitor monitor)
        throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
net.refractions.udig.ui.operations.IOp#op(org.eclipse.swt.widgets.Display, java.lang.Object, org.eclipse.core.runtime.IProgressMonitor)

getDialog

protected Dialog getDialog(Shell shell,
                           FeatureType featureType)
This method may be overridden for classes which need a dialog for user input

Parameters:
shell -
featureType -
Returns:
null