plugin.xml OR Code in RCP
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Amgad_Hanafy
Posted On:   Wednesday, February 7, 2007 01:00 PM

I can create ViewAction through extending org.eclipse.ui.viewActions in plugin.xml
or by adding The Action to the ViewPart class to the IMenuManager & IToolBarManager




What is the different & which has better performance
& is it ok to put all actions in plugin.xml yielding a large plugin.xml file



& generally it is better to use extension in plugin.xml frequently or it will make overhead to the application


Is there other ways to do it ?

Re: plugin.xml OR Code in RCP

Posted By:   kulbir_singh  
Posted On:   Monday, April 16, 2007 05:27 AM

HI

good question

but friend plugin.xml is a static contribution. no problem with that.
but its better if you can add your view programtically, rather than contributing in plugin.xml file.

regards

Kulbir Singh
About | Sitemap | Contact