Skip to content

SandBox

hilaire edited this page May 25, 2025 · 8 revisions
---
  config:
    class:
      hideEmptyMembersBox: true
---
classDiagram
class AppCommand{
   presenter
   execute()
   unexecute()
}

class AppRotateCommand{
   degrees
   degrees:()
   rotateBy:()
}

class AppCommandStack~ReadWriteStream~
class AppCommandManager {
   stack
   presenter
   undo()
   redo()
   rotateLeft()
   rotateRight()
   flipHorizontally()
   flipVertically()
   zoomIn()
   zoomOut()
}

AppCommand <|-- AppFlipHCommand
AppCommand <|-- AppFlipVCommand
AppCommand <|-- AppRotateCommand
AppCommand <|-- AppZoomInCommand
AppCommand <|-- AppZoomOutCommand

AppCommandStack --> "0..n" AppCommand
AppCommandManager --> "1" AppCommandStack

Loading

Clone this wiki locally