Plug-in Architecture
Plug-in Architecture
Plug-ins use a document-view architecture (as does all of
DLSim 3). The base classes for this architecture are as follows:
Document Class
- DLPlugin
- Base class for plug-in document classes. Responsible for the
plug-in's state, logical behavior, pin configuration, and response to
custom action menu events.
View Classes
- ProtoPluginView
- Base class for plug-in view classes. Responsible for the plug-in's
look-and-feel and user interface (UI).
- DLPluginView
- A default view class that will create a
minimal UI. The only controls supported by this class are LEDs (see
below).
- UserPluginView
- Base class for customized views. Supports customized footprint, pin
configuration and UI controls.
Details