Package org.esa.beam.framework.ui.command

This package provides an implementation of the GoF 'Command Pattern' for the MERIS/(A)ATSR Toolbox.

See: Description

Package org.esa.beam.framework.ui.command Description

This package provides an implementation of the GoF 'Command Pattern' for the MERIS/(A)ATSR Toolbox.

This implementation of the command pattern

  • separates application logic from GUI code,
  • builds upon the Swing Action Architecture, but command code is executed in separate command listeners,
  • provides commands, checked commands and command groups
  • provides automatic menu registration:
  • ordinary commands create ordinary menu items,
  • checked commands create check-box menu items,
  • command groups create sub-menus
  • provides all properties that a Swing Action can have plus the 'checked' property
  • provides context dependend popup-menu registration (not implemented yet)
  • uses command constraints to decide where (parent/location) and when (context dependent) a command appears in the GUI
  • enables tracking of which commands have been performed,
  • eases the implementation of undo/redo capabilities (in the future)
  • Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.