Powered By Blogger

Wednesday, April 20, 2011

new menu to the context menu addin - directly add selected objects to the project area

DAX folks,

Requirement always make you tender with your work as its keep on forcing you to do something innovative everyday.

Here one tool I've created which could reduce your time a bit while working with any project and where you have plenty of objects which all you need to add them to shared project also. Generally to add any object you have to navigate to shared project, select your project and then add that object to that space.

In AOT when you do a right click on any object you get plenty of options there, there is one option like "Add-ins" which again shows so many options which could be applied on that object. Under this tool i've modifed "SysContextMenu" class method "verifyItem" to add a new menu to the add-ins (add to share project).
Also to handle this one new class has to be created where treeNode class has been used to get the selected node and add it to the shared project space. Also "SysContextMenu" menu has to be updated with this entry in the existing add-ins pane.

Project xpo could be downloaded from here

No comments:

Post a Comment