new

 

 



View filtered by:

Public Diagrams by Others


#12 pynsource app and base cmd
Created by: admin   published
Language: Python
Repository: abulka/pynsource
Commit: master
Tags: command pattern
Description: Most of the commands in Pynsource are wrapped in command objects, which have an **execute** , undo and redo method. This is a classic use of the Command design pattern. ![](https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Command_pattern.svg/1400px- Comman…
#6 pynsource - GUI
Created by: abulka   published
Language: Python
Repository: abulka/pynsource
Commit: master
Tags: app canvas
Description: The main app class **MainApp** is different to the App class in Pynsource \- containing the main GUI handlers. It points to a `umlcanvas` which is where all the fancy drawing is done, using the wxPython GUI toolkit. Here are some screenshots of what's possible to dra…
#5 pynsource - view
Created by: abulka   published
Language: Python
Repository: abulka/pynsource
Commit: master
#4 Slightly larger architectural picture r…
Created by: testing   published
Language: Python
Repository: abulka/pynsource
Commit: master
Tags: app command pattern
Description: A slightly larger architectural picture of **App** , **Cmd** and **Controller** classes in Pynsource.
#1 App class in Pynsource
Created by: abulka   published
Language: Python
Repository: abulka/pynsource
Commit: master
Description: The App class owns an instance of Controller. The App class also has a Boot() method, as well as a Shutdown() method. The Controller is defined thus: class Controller: def __init__(self, app): self.app = app self.cmd_mgr = CommandManager(100) …