Class SimpleSolverPlugin
- java.lang.Object
-
- cern.accsoft.steering.aloha.plugin.api.AbstractAlohaPlugin
-
- cern.accsoft.steering.aloha.plugin.ssolve.SimpleSolverPlugin
-
- All Implemented Interfaces:
AlohaBeanFactoryAware,BeanAware,AlgorithmFactory,AlohaPlugin,SolverConfigPanelFactory,SolverProvider
public class SimpleSolverPlugin extends AbstractAlohaPlugin implements AlohaPlugin, SolverProvider, AlgorithmFactory, SolverConfigPanelFactory
A plugin which provides additional solvers and an additional calculator
-
-
Field Summary
-
Fields inherited from class cern.accsoft.steering.aloha.plugin.api.AbstractAlohaPlugin
alohaBeanFactory
-
-
Constructor Summary
Constructors Constructor Description SimpleSolverPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmcreateAlgorithm(Solver solver)create a calculator for the given solverSolverConfigPanelcreateConfigPanel(Solver solver)this method must create a config panel for the given solver.java.lang.StringgetName()java.util.List<Solver>getSolvers()voidinit()the init method which is called automatically by the bean-factory-
Methods inherited from class cern.accsoft.steering.aloha.plugin.api.AbstractAlohaPlugin
getAlohaBeanFactory, setAlohaBeanFactory
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAlohaPlugin- Returns:
- the name of the plugin
-
init
public void init()
the init method which is called automatically by the bean-factory
-
getSolvers
public java.util.List<Solver> getSolvers()
- Specified by:
getSolversin interfaceSolverProvider
-
createAlgorithm
public Algorithm createAlgorithm(Solver solver)
Description copied from interface:AlgorithmFactorycreate a calculator for the given solver- Specified by:
createAlgorithmin interfaceAlgorithmFactory- Parameters:
solver- the solver for which to create a calculator- Returns:
- the calculator
-
createConfigPanel
public SolverConfigPanel createConfigPanel(Solver solver)
Description copied from interface:SolverConfigPanelFactorythis method must create a config panel for the given solver.- Specified by:
createConfigPanelin interfaceSolverConfigPanelFactory- Parameters:
solver- the solver for which to create a panel- Returns:
- the config-panel
-
-