enable scala actions on Java projects in non-Java perspective

An enhancement as described in https://scala-ide-portfolio.assembla.com/spaces/scala-ide/support/tickets/1001597-enable-3-scala-actions-on-java-projects-in-non-package-explorer-view#/activity/ticket.