sk.uniba.euromath.gene.gui
Interface IConfigWidgetFactory

All Known Implementing Classes:
WidgetFactory

public interface IConfigWidgetFactory

A factory that simply provides a configurator widget for ICoordinator's configurator. This should be replaced by some complex bean handling algorithm in the future.

Author:
Martin Vysny

Field Summary
static String EXTENSION_POINT_ID
          Eclipse extension point ID.
 
Method Summary
 IUserInputWidget getWidget(CoordinatorInfo info, IConfigurator configurator, Composite parent)
          Returns a widget that is able to configure given coordinator.
 

Field Detail

EXTENSION_POINT_ID

static final String EXTENSION_POINT_ID
Eclipse extension point ID.

See Also:
Constant Field Values
Method Detail

getWidget

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

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.