Show/hide contributions for MultiPageEditor [message #91536] |
Fri, 11 July 2003 00:48  |
Eclipse User |
|
|
|
Originally posted by: scheglov_ke.nlmk.ru
I want to have different set of menu, toolbar and statusbar items
visible for different pages of my MultiPageEditor. I've looked in
source of Eclipse, but can not find any example of such behaviour.
The nearest case is PDE editors, but they implement multi page
behaviour internally, not using MultiPageEditor class. Can anybody
give me example of implementation MultiPageEditorContributor?
--
SY, Konstantin.
|
|
|
|
Re: Show/hide contributions for MultiPageEditor [message #92839 is a reply to message #92023] |
Sun, 13 July 2003 23:30  |
Eclipse User |
|
|
|
Originally posted by: scheglov_ke.nlmk.ru
Vladimir Blagojevic <vladimir@cs.yorku.ca> wrote:
My MultiPageEditor has only common point with PDE editors - it is also
multi page. ;-)
In reallity I don't need PDE framework, I need only action switching.
I've tried to get PDE sources and remove all things except needed
functionality - but this was too complex for me...
> I don't have an example but I have a question for you. Would you think it
> would be too dangerous to develop your MultiPageEditor according to PDE ui
> internal framework i.e tie your code to PDE ui internal APIs? In that case
> you would not rely on a public APIs and would suffer all the well known
> consequences. However, it seem to me that PDE ui APIs are not very fluid and
> that other components from WSAD rely on the same framework. I am not 100%
> sure about this last claim but struts configuration looks awfully similar to
> PDE? Can anyone shed some more light on these issues?
> Regards.
> "Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
> news:KK9pce2RDHA.540@fairy.ao.nlmk...
>> I want to have different set of menu, toolbar and statusbar items
>> visible for different pages of my MultiPageEditor. I've looked in
>> source of Eclipse, but can not find any example of such behaviour.
>> The nearest case is PDE editors, but they implement multi page
>> behaviour internally, not using MultiPageEditor class. Can anybody
>> give me example of implementation MultiPageEditorContributor?
>>
>> --
>> SY, Konstantin.
--
SY, Konstantin.
|
|
|
Powered by
FUDForum. Page generated in 0.08944 seconds