Hello,
I am new to Clear Canvas, but so far I am very impressed with the framework design. It is light years ahead of any other piece of medical software I have seen. Well done!
Now, on to my questions. I have been playing around with the RIS client and server,
building them from source. I am trying to understand how the main menu works.
I've read the developers guide, and I understand that menu drop down items
are tools that extend the DesktopToolExtensionPoint extension, and that they must have a MenuAction attribute with site equal to "global-menus". And also that the action model determines what actions get displayed for a given tool.
I notice that the client's main menu changes based on what type of user is logged in; for example, the Admin item does not appear for a radiologist. How does this work in the code? Where in the code does the menu get changed based on the user? If someone could point me to the relevant files, that would be a great help. Also, if I wanted to add a custom item to the main menu, how would I go about doing this?
Any help would be greatly appreciated!
Cheers,
Igor Kozyol