Command-pattern
Command builders
The command pattern in Optimizely Content Management System (CMS) encapsulates interface actions into reusable objects, which separates logic for executing an action from concrete widgets and objects into its testable unit. Because commands encapsulate into their objects with no reference for the user interface or their visual representation, you need a builder pattern to generate widgets from commands in a generic manner.
Global toolbar commands plug-in
You can create a command plugin for the global toolbar in the Optimizely Content Management System (CMS) user interface. To add commands to the global toolbar, create a Command Provider for the toolbar and add it to the global command registry.
Command pattern
The command pattern encapsulates interface actions into reusable objects, which separates logic for executing an action from concrete widgets and objects into its testable unit. One command can have several UI objects that cause the command pattern to execute.
Plug-in commands
The command pattern in Optimizely Content Management System (CMS) encapsulates interface actions into reusable objects, which separates logic for executing an action from concrete widgets and objects into its testable unit. With the command pattern and its consumer and provider architecture, you can add commands to a command consumer.