Validation

org.topcased.validation.core.extension
Class ValidatorsManager

java.lang.Object
  extended by AbstractExtensionManager
      extended by org.topcased.validation.core.extension.ValidatorsManager

public class ValidatorsManager
extends AbstractExtensionManager

Class that stores the validators registered with the validators extension point.


Method Summary
protected  void addExtension(org.eclipse.core.runtime.IExtension extension)
           
 ValidatorDescriptor find(java.lang.String id)
          Find a descriptor in the registry.
static ValidatorsManager getInstance()
          Get the shared instance.
 ValidatorDescriptor[] getValidators()
          Get an enumeration of validator descriptors.
protected  void removeExtension(org.eclipse.core.runtime.IExtension extension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ValidatorsManager getInstance()
Get the shared instance.

Returns:
the validators manager

find

public ValidatorDescriptor find(java.lang.String id)
Find a descriptor in the registry.

Parameters:
id - the searched validator id
Returns:
the validator or null if not found

getValidators

public ValidatorDescriptor[] getValidators()
Get an enumeration of validator descriptors.

Returns:
The registered validators

addExtension

protected void addExtension(org.eclipse.core.runtime.IExtension extension)
See Also:
org.topcased.facilities.extensions.AbstractExtensionManager#addExtension(org.eclipse.core.runtime.IExtension)

removeExtension

protected void removeExtension(org.eclipse.core.runtime.IExtension extension)
See Also:
org.topcased.facilities.extensions.AbstractExtensionManager#removeExtension(org.eclipse.core.runtime.IExtension)

Validation

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.