Analysis
Overview
install from file (or drag and drop)
The Plugin Manager install provides the installing plugins functionality
- An install button from Plugin Manager palette triggers an "Open File" file dialog that allows choosing a file to install plugin from.
- Another option is to drag the file from the OS file manager to the plugin manager palette
- A dialog notifying for broken dependencies shows when the plugin cannot be installed due to dependencies.
- The dialog lists missing plugins that are required. (This may be postponed)
- After installing the plugin should be visible from the App plugin manager list.
Task requirements
- Define draft rules for installable plugins
- What are the requiremets for an installation file
- Create the Install button
- Provide file dialog functionality
- Provide install plugin functionality
- Create the "Broken dependencies" error dialog. (In later revisions - Including the list of dependencies. Unmet dependencies should be marked someway, other font color for example.)
Task result
The result of this task is code.
Implementation idea
Depends on PLUGIN_SUPPORT_LIB_CONFIGURING_R0 Implement all of the Application plugin manager tasks together. Implement this task after the APP_PLUGIN_MANAGER_ABOUT_R0 as there is a list with the dependencies. Implement this task after APP_PLUGIN_MANAGER_LIST_R0 as it is related to the palette implemented there.
Related
APP_PLUGIN_MANAGER_ABOUT_R0
PLUGIN_SUPPORT_LIB_CONFIGURING_R0
How to demo
Demonstrate installing of a plugin.
- Open App Plugin Manager
- Click on Install button
- Select a plugin from the file dialog
- Click open
- Show that the plugin is listed as installed in the plugin manager list.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
Most of the App plugin manager tasks have 1 effort and 2 revisions. This means almost everything should be done in revision one.