| Summary: | Additions to Tigerstripe Info dialog | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Richard Craddock <rcraddoc> | ||||||||
| Component: | UI | Assignee: | Navid Mehregani <nmehrega> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | erdillon | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 0.5M0 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Richard Craddock
To clarify.... The Tigerstripe Menu contains (amongst other things) a "Plugins" option that pops up a dialog listing the plugins available for generation. The label here is a old misnomer - what is listed are Tigerstripe "Generators" which may or may not be eclipse plugins. Maybe that label could be updated at the same time! We have recently added the capability to "contribute" models ( known as "modules" in this mode) through eclipse plugins, using an extension point. These are read-only, but can be used for extension. So the user might install a foundation model, and be allowed to extend it, but not to edit it. Currently there is no way for the user to view the list of "contributed" (aka "installed") modules in a given eclipse install. (The only way to do this is to create a model and go through the process of adding references - and even then the user has to sub-consciously filetr out projects for installed Modules). The requirement here is to show a list of the "contributed" modules. There is no add/remove or other action required - simply display. Yo can get to these using the class org.eclipse.tigerstripe.workbench.internal.core.module.InstalledModuleManager public InstalledModule[] getModules() That should do the trick! Created attachment 173985 [details]
Patch
Here's what's included in the patch:
- AbstractDialog (new file): Used to abstract out the common code for similar dialogs
- ModuleDialog (new file): Dialog for displaying installed modules
- PluginsControlDialog (modified): Modified to extend AbstractDialog
- TigerstripeCommandHandler (modified): To handle 'Installed Module' command
- plugin.xml (modified): Added a new command for 'Installed Module'
- analysis_flow.gif: Icon used for the new command
Note that I'm using a deprecated API for the project name. See bugzilla 319494 for more details.
Created attachment 174071 [details]
Path#2
Modified dialog to only display Model ID and Version. This patch doesn't include the icon used for the command. Icon will be attached separately.
Created attachment 174072 [details]
Icon used for the new command
Fixed by application of Navid's patch |