Using command Framework to add items to pagebooks [message #334240] |
Wed, 28 January 2009 10:40  |
Eclipse User |
|
|
|
There is one element of the new command framework that I cannot find
covered anywhere. I have experimented with code and have not solved the
problem. This makes me conclude that the answer is so obvious I can't see
it or that this is a bug / shortcoming of the Command Framework.
Using the command framework I have not been able to add, using only
plugin.xml entries, the ability to add /control toolbar menu items to a
specific page of a pagebook view.
For example, consider org.eclipse.ui.views.contentoutline.ContentOutline.
The Eclipse PDE implements, in code, various contributing content outline
pages for the outline view. When no editor is open the outline view has no
toolbar items. Depending on the file opened for edit, the icons in the
Content Outline view toolbar change to suit the file. Can that be done for
a newly contributing page using only command framework entries? I also
want to implement the same behaviour in my own pagebook views.
Is this a bug or a feature or am I missing something.
I posted this earlier but it seems to have disappeared - or was never
posted correctly.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03247 seconds