org.eclipse.emf.edit.ui.provider
Class PropertyDescriptor.EDataTypeValueHandler

java.lang.Object
  extended byorg.eclipse.emf.edit.ui.provider.PropertyDescriptor.EDataTypeValueHandler
All Implemented Interfaces:
ICellEditorValidator, IInputValidator
Enclosing class:
PropertyDescriptor

protected static class PropertyDescriptor.EDataTypeValueHandler
extends Object
implements ICellEditorValidator, IInputValidator

A delegate for handling validation and conversion for data type values.


Field Summary
protected  EDataType eDataType
           
 
Constructor Summary
PropertyDescriptor.EDataTypeValueHandler(EDataType eDataType)
           
 
Method Summary
 String isValid(Object object)
           
 String isValid(String text)
           
 String toString(Object value)
           
 Object toValue(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eDataType

protected EDataType eDataType
Constructor Detail

PropertyDescriptor.EDataTypeValueHandler

public PropertyDescriptor.EDataTypeValueHandler(EDataType eDataType)
Method Detail

isValid

public String isValid(Object object)
Specified by:
isValid in interface ICellEditorValidator

isValid

public String isValid(String text)
Specified by:
isValid in interface IInputValidator

toValue

public Object toValue(String string)

toString

public String toString(Object value)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.