be.ac.vub.cocompose.eclipse.model
Class NameValidator

java.lang.Object
  extended bybe.ac.vub.cocompose.eclipse.model.NameValidator
All Implemented Interfaces:
ICellEditorValidator

public class NameValidator
extends Object
implements ICellEditorValidator

Validates CoCompose model element names.

Since:
0.2.0
Version:
0.2.0, 08/01/2004
Author:
Dennis Wagelaar

Constructor Summary
NameValidator(ModelElement subject)
          Creates a NameValidator.
 
Method Summary
 String isValid(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValidator

public NameValidator(ModelElement subject)
Creates a NameValidator.

Parameters:
subject - - the subject to validate.
Method Detail

isValid

public String isValid(Object value)
Specified by:
isValid in interface ICellEditorValidator
See Also:
ICellEditorValidator.isValid(java.lang.Object)