org.eclipse.e4.xwt.converters
Class StringToInteger

java.lang.Object
  extended by org.eclipse.e4.xwt.converters.StringToInteger
All Implemented Interfaces:
org.eclipse.core.databinding.conversion.IConverter

public class StringToInteger
extends java.lang.Object
implements org.eclipse.core.databinding.conversion.IConverter

String to Integer converter

Author:
yyang

Field Summary
static StringToInteger instance
           
 
Constructor Summary
StringToInteger()
           
 
Method Summary
 java.lang.Object convert(java.lang.Object fromObject)
           
 java.lang.Object getFromType()
           
 java.lang.Object getToType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static StringToInteger instance
Constructor Detail

StringToInteger

public StringToInteger()
Method Detail

convert

public java.lang.Object convert(java.lang.Object fromObject)
Specified by:
convert in interface org.eclipse.core.databinding.conversion.IConverter

getFromType

public java.lang.Object getFromType()
Specified by:
getFromType in interface org.eclipse.core.databinding.conversion.IConverter

getToType

public java.lang.Object getToType()
Specified by:
getToType in interface org.eclipse.core.databinding.conversion.IConverter