A while back, I remember reading about a particular function that you could call
that would return true if you were currently in design mode, thus being able to
make decisions about how to progress (such as ignoring null pointers for resources
that cannot be loaded). I cannot seem to find that function again and I was
hoping someone here could help.
My current problem is that I am using a ColorSelector composite and creating a
button from the one it generates, but that does not show up in the designer and
it messes up the grid layout. I would like to simply add a basic button with some
text if we are in designer mode, otherwise, add the full ColorSelector.
Any help would be greatly appreciated.