Helping for Context Menu-Reg

Helping for Context Menu-Reg

Hi,

How to implement Context menu as i like,
because i found so many plugin all the menu showing same content for all,
but i want like below

CCA
CCA2007 if right click : 1."Add CA" 2."Add Trust CA"
CA  if right Click : 1."Add Sub CA" 2."Edit Sub CA"
Please help me to implement the above using context menu

Thanks in advance

Regards
G.Lenin