org.jupe.editors.classdiagram.model.validators
Class AttributeMethodNameValidator

java.lang.Object
  extended by org.jupe.editors.classdiagram.model.validators.AttributeMethodNameValidator
All Implemented Interfaces:
org.eclipse.jface.viewers.ICellEditorValidator

public class AttributeMethodNameValidator
extends java.lang.Object
implements org.eclipse.jface.viewers.ICellEditorValidator

A validator that checks if a String is a method name. Accepted strings must begin with a lower case letter.

Author:
Steffen Klüpfel

Constructor Summary
AttributeMethodNameValidator()
           
 
Method Summary
 java.lang.String isValid(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeMethodNameValidator

public AttributeMethodNameValidator()
Method Detail

isValid

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