added setting menu

The setting dialog was made using WindowManager for eclipse.