Bug 457682 - Refactor getShell

Refactored getModalShellExcluding() to getModalShell() since effectively
no Shell was excluded in the call as getShell() is the only client of
the method and always passed null.
Refactored logic in getModalShell() to use a lambda expression.
Refactored getModalShell()/getNonModalShell() to return Optional<Shell)
to allow a fluent style in getShell().

Change-Id: Ie2246f83faab55924a0280e8ff3208d6d65cd3fc
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
1 file changed