public class AnalysisWidgetFactory extends java.lang.Object implements IAnalysisWidgetFactory
Constructor and Description |
---|
AnalysisWidgetFactory()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
IStateBrokerHandler |
createStateBrokerHandler()
This method should return an
IStateBrokerHandler . |
IAnalysisView |
createView(java.lang.String viewName,
DataSource dataSource)
Creates one of the possible views given a string.
|
org.eclipse.jface.wizard.IWizard |
createWizard(java.lang.Object selection)
Gets a JFace
IWizard for creating a new child of the specified
component. |
java.util.List<java.lang.String> |
getAvailableViews(DataSource dataSource)
Returns an array of names associated with all allowed views (AVCs).
|
java.util.List<java.lang.Class<?>> |
getModelClasses()
This method should return a class.
|
public java.util.List<java.lang.String> getAvailableViews(DataSource dataSource)
IAnalysisWidgetFactory
getAvailableViews
in interface IAnalysisWidgetFactory
dataSource
- The data source, e.g., "Input" or "Reference", for the new
AVC.public IAnalysisView createView(java.lang.String viewName, DataSource dataSource)
IAnalysisWidgetFactory
createView
in interface IAnalysisWidgetFactory
viewName
- The name of the view. These should come from
getAvailableViews().dataSource
- The data source, e.g., "Input" or "Reference", for the new
AVC.public java.util.List<java.lang.Class<?>> getModelClasses()
IAnalysisWidgetFactory
getModelClasses
in interface IAnalysisWidgetFactory
public IStateBrokerHandler createStateBrokerHandler()
IAnalysisWidgetFactory
IStateBrokerHandler
. Each
IAnalysisView
may need its own keys, so the key provider should
be tailored for this specific set of analysis widgets.createStateBrokerHandler
in interface IAnalysisWidgetFactory
public org.eclipse.jface.wizard.IWizard createWizard(java.lang.Object selection)
IAnalysisWidgetFactory
IWizard
for creating a new child of the specified
component.createWizard
in interface IAnalysisWidgetFactory
selection
- The object that will be getting a wizard.