sk.uniba.euromath.gene.gui
Class WidgetFactory
java.lang.Object
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
Method Summary |
IUserInputWidget |
getWidget(sk.baka.xml.gene.CoordinatorInfo info,
sk.baka.xml.gene.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 |
WidgetFactory
public WidgetFactory()
getWidget
public IUserInputWidget getWidget(sk.baka.xml.gene.CoordinatorInfo info,
sk.baka.xml.gene.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 configureconfigurator
- 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.