This sample shows a 3.x plugin, which contributes to the Eclispe IDE and a E4 plugin, which does the same but using the E4 API