Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Include Page
TOOLS:Header, DesignTOOLS:
Header, Design
scrollbar

Project Explorer is a plugin in DelftShell used to visualize Project in a hierarchical form. It uses tree view control interfaces and implementation described here: Tree view (XtraTreeList, Windows.Forms TreeView) control.

...

  • Project: dataobject
  • Presenters: controller/presenter
  • TreeView, ProjectTreeView: View

Context menus in project explorer

How to implement menus in project explorer? For now we reused the existing context menus, but modified calls to projectguiservice, modelguiservice and taskguiservice (parameterless, so they can become commands).
Next step is to supply contextmenus/contextmenu items through configuration, because we want to enable plugins to provide their own contextmenu for specific data objects. For this reason we want to use the configuration mechanism that exists for menus

Remarks concerning the way in which menus and toolbars are created :

-delftshell reads app.config belonging to the plugin ?! too implicit!

AddPluginGuiCommands belongs to IMainWindow, maybe too specific interface