How to organize actions in plugin.xml [message #453358] |
Thu, 27 July 2006 07:28  |
Eclipse User |
|
|
|
Hi,
I would like to have some opinions on the best practice to organize
actions in the plugin.xml file. In my case, I have the same actions
declared for different extensions point (so the declaration of actions are
duplicated in the plugin.xml).
What is your experience on this?
Regards,
Javier
|
|
|
|
|
Re: How to organize actions in plugin.xml [message #453382 is a reply to message #453360] |
Thu, 27 July 2006 17:46  |
Eclipse User |
|
|
|
mmh that is not really what I would say.
In my case, I have more than one instance of an action which is held by
a view. In this case, I think it is better to share the same instance of
the action by declare it programatically.
But I hope other people can give their input here because, like you, I
need other point of view!
David
Xavier a écrit :
> Thanks for your inputs,
>
> So if I understand your point of vue, You only declare actions in the
> plugin.xml for actions that must extends menus on others plugins. And
> actions for the same plugin are declarer programatically.
>
> Thanks,
> Xavier
>
|
|
|
Powered by
FUDForum. Page generated in 0.47014 seconds