Method runs the tests defined from extension points for Run As... and Debug As... menu items.
Currently this test optimistically considers everything not a source file. In this context we
consider an optimistic approach to mean that the test will always return true.
There are many reasons for the optimistic choice some of them are outlined below.
- Performance (in terms of time needed to display menu) cannot be preserved. To know what to allow
in any one of the menus we would have to search all of the children of the container to determine what it contains
and what can be launched by what.
- If inspection of children of containers were done, a user might want to choose a different launch type, even though our tests
filter it out.