org.eclipse.gmt.umlx.editor.property.validators
Class UpperBoundValidator

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.property.validators.UpperBoundValidator
All Implemented Interfaces:
org.eclipse.jface.viewers.ICellEditorValidator

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


Constructor Summary
UpperBoundValidator(int lowerBound)
           
 
Method Summary
static UpperBoundValidator getInstance()
           
 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

UpperBoundValidator

public UpperBoundValidator(int lowerBound)
Method Detail

getInstance

public static UpperBoundValidator getInstance()

isValid

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