Fire delete event on a project delete.
Fire selection change event on workspace.delete event.
Disable actions when no resource is selected.
Addressed comment.
removed empty line.
Changes as per comments.
empty line.
comment.
Merge pull request #2518 from dart-lang/disable_actions_on_selection_changes

[bug] Disable actions on selection changes