Class ViewsToolBarService

java.lang.Object
org.opt4j.viewer.ViewsToolBarService
All Implemented Interfaces:
ToolBarService

public class ViewsToolBarService extends Object implements ToolBarService
The ViewsToolBarService can open a ArchiveWidget, PopulationWidget, or ParetoPlotWidget. This service has a ToolBarOrder with -50.
See Also:
  • Field Details

    • 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 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 a ViewsToolBarService.
      Parameters:
      viewport - the viewport
      archiveWidgetProvider - the archiveWidgetProvider
      populationWidgetProvider - the populationWidgetProvider
      plotWidgetProvider - the plotWidgetProvider
      objectivesPlotWidgetProvider - the objectivesPlotWidgetProvider
  • Method Details