Package org.opt4j.viewer
Class ViewsToolBarService
java.lang.Object
org.opt4j.viewer.ViewsToolBarService
- All Implemented Interfaces:
ToolBarService
The
ViewsToolBarService
can open a ArchiveWidget
,
PopulationWidget
, or ParetoPlotWidget
. This service has a
ToolBarOrder
with -50
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected ArchiveWidget
protected final com.google.inject.Provider<ArchiveWidget>
protected final com.google.inject.Provider<ConvergencePlotWidget>
protected final com.google.inject.Provider<ParetoPlotWidget>
protected PopulationWidget
protected final com.google.inject.Provider<PopulationWidget>
protected final Viewport
-
Constructor Summary
ConstructorDescriptionViewsToolBarService
(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
Modifier and TypeMethodDescriptionprotected ArchiveWidget
protected ParetoPlotWidget
protected PopulationWidget
Returns the component.
-
Field Details
-
viewport
-
archiveWidgetProvider
-
populationWidgetProvider
-
plotWidgetProvider
-
objectivesPlotWidgetProvider
-
archiveWidget
-
populationWidget
-
-
Constructor Details
-
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 Details
-
getToolBar
Description copied from interface:ToolBarService
Returns the component.- Specified by:
getToolBar
in interfaceToolBarService
- Returns:
- the component
-
getArchiveWidget
-
getPopulationWidget
-
getPlotWidget
-