The explorer panel needs to be a proper explorer of OpenCPI project assets, like the previous GUI had

Existing feature/capability to improve

This is marked as an enhancement, but basically the current GUI is a regression from the previous one in this critical aspect.

The previous GUI had both a file explorer and a "OpenCPI Projects" panel. THe file explorer was only there because the generic eclipse/java environment wanted it there. THe file explorer was just confusing and less than useful. The "OpenCPI Projects" pane in the previous GUI was a proper hierarchical tree-control of OpenCPI assets, which is the primary mission of this tool: to support managing and developing OpenCPI assets that live in projects, which is what, at the CLI level, ocpidev does.

This tree control (TreeView in qt speak) had the correct hierarchy of assets and in particular had properly context-sensitive menus that were correct and sensitive for the object being clicked on, exactly what you want from a GUI.

Here is an example from that pane that shows a click-right on "components" which is a component library, and the menu is offering what you can do with/to a component library. There is nothing in that pane that is not an opencpi asset to operate on.

image

Testing requirements

(Any special hardware needed for the development and testing of this enhancement?)

Note that the previous gui used the "ocpidev refresh" in each project to create the project-metadata.xml which is how it knew about all the objects in each project, in order to populate those tree-control pane.

Define success

The explorer pane shows opencpi assets and nothing else, is not a file explorer, and is properly context-sensitive, as was the previous GUI. The file explorer pane is no where to be found. I.e. the previous capability minus the useless file explorer.

Links/references