Package org.opt4j.viewer
Class ViewsToolBarService
- java.lang.Object
-
- org.opt4j.viewer.ViewsToolBarService
-
- All Implemented Interfaces:
ToolBarService
public class ViewsToolBarService extends Object implements ToolBarService
TheViewsToolBarService
can open aArchiveWidget
,PopulationWidget
, orParetoPlotWidget
. This service has aToolBarOrder
with-50
.- See Also:
ArchiveWidget
,PopulationWidget
,ParetoPlotWidget
-
-
Field Summary
Fields Modifier and Type Field Description protected ArchiveWidget
archiveWidget
protected com.google.inject.Provider<ArchiveWidget>
archiveWidgetProvider
protected com.google.inject.Provider<ConvergencePlotWidget>
objectivesPlotWidgetProvider
protected com.google.inject.Provider<ParetoPlotWidget>
plotWidgetProvider
protected PopulationWidget
populationWidget
protected com.google.inject.Provider<PopulationWidget>
populationWidgetProvider
protected Viewport
viewport
-
Constructor Summary
Constructors Constructor Description ViewsToolBarService(Viewport viewport, com.google.inject.Provider<ArchiveWidget> archiveWidgetProvider, com.google.inject.Provider<PopulationWidget> populationWidgetProvider, com.google.inject.Provider<ParetoPlotWidget> plotWidgetProvider, com.google.inject.Provider<ConvergencePlotWidget> objectivesPlotWidgetProvider)
Constructs aViewsToolBarService
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArchiveWidget
getArchiveWidget()
protected ParetoPlotWidget
getPlotWidget()
protected PopulationWidget
getPopulationWidget()
JToolBar
getToolBar()
Returns the component.
-
-
-
Field Detail
-
viewport
protected final Viewport viewport
-
archiveWidgetProvider
protected final com.google.inject.Provider<ArchiveWidget> archiveWidgetProvider
-
populationWidgetProvider
protected final com.google.inject.Provider<PopulationWidget> populationWidgetProvider
-
plotWidgetProvider
protected final com.google.inject.Provider<ParetoPlotWidget> plotWidgetProvider
-
objectivesPlotWidgetProvider
protected final com.google.inject.Provider<ConvergencePlotWidget> objectivesPlotWidgetProvider
-
archiveWidget
protected ArchiveWidget archiveWidget
-
populationWidget
protected PopulationWidget populationWidget
-
-
Constructor Detail
-
ViewsToolBarService
@Inject public ViewsToolBarService(Viewport viewport, com.google.inject.Provider<ArchiveWidget> archiveWidgetProvider, com.google.inject.Provider<PopulationWidget> populationWidgetProvider, com.google.inject.Provider<ParetoPlotWidget> plotWidgetProvider, com.google.inject.Provider<ConvergencePlotWidget> objectivesPlotWidgetProvider)
Constructs aViewsToolBarService
.- Parameters:
viewport
- the viewportarchiveWidgetProvider
- the archiveWidgetProviderpopulationWidgetProvider
- the populationWidgetProviderplotWidgetProvider
- the plotWidgetProviderobjectivesPlotWidgetProvider
- the objectivesPlotWidgetProvider
-
-
Method Detail
-
getToolBar
public JToolBar getToolBar()
Description copied from interface:ToolBarService
Returns the component.- Specified by:
getToolBar
in interfaceToolBarService
- Returns:
- the component
-
getArchiveWidget
protected ArchiveWidget getArchiveWidget()
-
getPopulationWidget
protected PopulationWidget getPopulationWidget()
-
getPlotWidget
protected ParetoPlotWidget getPlotWidget()
-
-