General question when developing a eclipse plugin which is exported as a product and deployable plug-in (jar).
Where is the best place to create resources (Colors etc.) and dispose them? Tried it in the start()
of the Activator
class. Problem is i cant get the Display
object there.
Also tried it in ApplicationWorkbenchWindowAdvisor
where i can Access the Display via PlatformUI.getWorkbench().getDisplay()
. This class gets only called when the plug-in is exported as a product.