sk.uniba.euromath.gene.gui
Class WidgetFactory

java.lang.Object
  extended by sk.uniba.euromath.gene.gui.WidgetFactory
All Implemented Interfaces:
IConfigWidgetFactory

public final class WidgetFactory
extends Object
implements IConfigWidgetFactory

Produces widgets that configures coordinators.

Author:
Martin Vysny

Field Summary
 
Fields inherited from interface sk.uniba.euromath.gene.gui.IConfigWidgetFactory
EXTENSION_POINT_ID
 
Constructor Summary
WidgetFactory()
           
 
Method Summary
 IUserInputWidget getWidget(CoordinatorInfo info, IConfigurator configurator, Composite parent)
          Returns a widget that is able to configure given coordinator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetFactory

public WidgetFactory()
Method Detail

getWidget

public IUserInputWidget getWidget(CoordinatorInfo info,
                                  IConfigurator configurator,
                                  Composite parent)
Description copied from interface: IConfigWidgetFactory
Returns a widget that is able to configure given coordinator. Each change to the widget should be applied immediately to underlying coordinator model.

Specified by:
getWidget in interface IConfigWidgetFactory
Parameters:
info - the coordinator to configure
configurator - coordinator's configurator, never null.
parent - place the widget here.
Returns:
widget instance or null if this factory is not able to configure given coordinator.


Copyright © 2003-2006 null. All Rights Reserved.