Example usage for org.eclipse.jface.resource StringConverter asPoint

List of usage examples for org.eclipse.jface.resource StringConverter asPoint

Introduction

In this page you can find the example usage for org.eclipse.jface.resource StringConverter asPoint.

Prototype

public static Point asPoint(String value) throws DataFormatException 

Source Link

Document

Converts the given value into an SWT point.

Usage

From source file:org.eclipselabs.collage.xml.adapters.PointAdapter.java

License:Open Source License

@Override
public Point unmarshal(String v) throws Exception {
    return new Point(StringConverter.asPoint(v));
}