Design Pattern for "Context Sensitive" Right Click Menu
Posted
by MadSeb
on Stack Overflow
See other posts from Stack Overflow
or by MadSeb
Published on 2010-04-19T19:43:17Z
Indexed on
2010/04/19
20:03 UTC
Read the original article
Hit count: 243
Hi, What is a design pattern I can use for generating "context-sensitive" right click menus ? I have in mind a "Windows Explorer"-like application where a user can right click on a folder and get a list of menu items but right click on a drive and get a totally different list. What design pattern should I use ? Would the factory design pattern be appropiate for handling such a menu ? Regards, Seb
© Stack Overflow or respective owner