[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Question about ActionContributionItem
|
I used MenuManager to create main menu of my app.
and
I made a context menu by reusing some part of that menu manager for edit
area.
but it was not work.
I wondered why, So I inspected source codes about Action Contribution.
then I found that Action Contribution Item creates only one GUI.
after first creation, It doesn't work anymore.
why did they designed ActionContributionItem like this?
MenuManager contributes by Menu and MenuItems from given actions.
Sometimes we need same menu context in different area. But We can't
reuse these ActionContributionSets. (MenuManager, ToolbarManager and so
on...)
I think this is not good idea.
Is there any reason?