Added method onRightClick to the block definition class and implemented it in the workbench