Riverscapes/QRAVEPlugin

Add Close All Projects command

Closed this issue · 3 comments

It would be very nice to have a command to "Close All Projects" when we have a lot open.
image

This is same feature as: Riverscapes/RaveAddIn#129

  1. New Button to the right of the open project button:
    • label "Close All Projects"
    • icon TBD - probably red X
  2. Close and remove all projects from project explorer
  3. Remove all project top level entries in Map ToC.
  4. Leave any other entries in project tree (i.e. non-RAVE related layers).

Context

  1. I am favouring this issue over #36 which refers to a context menu on each project. Semantically right clicking on a project should only provide access to functions that alter that individual project. close ALL projects belongs at a higher level, hence the toolbar.

Kelly, I have implemented this in ArcRAVE.

  1. Here's a video demonstrating how I have implemented it (so you can mimic in QRAVE).
  2. Here's the icon graphic I used for the button.

@KellyMWhitehead note the feature request to pop up confirmation before performing this operation.

See ArcRAVE issue for wording.