org.formaria.swt
Class SwtDataBindingFactory

java.lang.Object
  extended by org.formaria.aria.data.DataBindingFactory
      extended by org.formaria.swt.SwtDataBindingFactory

public class SwtDataBindingFactory
extends DataBindingFactory

A data binding factory for the additional swing bindings

Copyright: Copyright (c) Formaria Ltd., 2008

$Revision: 2.3 $

License see license.txt


Field Summary
 
Fields inherited from class org.formaria.aria.data.DataBindingFactory
currentProject, evaluator
 
Method Summary
 DataBinding getBinding(PageSupport page, java.lang.Object comp, java.util.Hashtable instanceConfig)
          Try to get a binding factory to construct the binding
static void register(Project project)
          Register an instance of this binding factory.
 
Methods inherited from class org.formaria.aria.data.DataBindingFactory
getEvaluatedAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register(Project project)
Register an instance of this binding factory.


getBinding

public DataBinding getBinding(PageSupport page,
                              java.lang.Object comp,
                              java.util.Hashtable instanceConfig)
Try to get a binding factory to construct the binding

Specified by:
getBinding in class DataBindingFactory
Parameters:
page - the page that will own the binding
comp - the target component
instanceConfig - the attributes of the binding instance
Returns:
the new binding if one could be constructed