Skip to content

v20120217-1528

tagged this 17 Feb 15:28
workbench startup to fail

If the createControl(Composite) method of a ControlContribution
returns null, we should not bother trying to create a ToolItem
for it. Instead, we should just log an error notifying the user
which class failed to return a non-null control. The current
code of throwing an NPE causes the workbench to not start when
there is such a rogue control contribution. This is unacceptable
as a bad implementation should not prevent the workbench from
starting up.
Assets 2
Loading