How to Enable context Menu?

When our Diagram is static(means isEnable property is false), then how to enable context menu and make scroll bar working? Please reply ASAP .

For this I will be highly obliged.

Thanks & Regards,

Diagram.isEnabled is very restrictive. Maybe you want Diagram.isReadOnly set to true.

See the intro on permissions.