The usages of new `Image(device, width, height)` for the snippets in SWT should be replaced according to https://github.com/vi-eclipse/Eclipse-Platform/issues/188.