CompareViewerSwitchingPane [message #6185] |
Wed, 23 April 2003 09:39  |
Eclipse User |
|
|
|
Originally posted by: heinz-hinz.gmx.de
Is there anybody who could tell me how to use the
CompareViewerSwitchingPane? I have no idea how to implement the viewer
switching strategy.
I think a standalone example would help me a lot!
|
|
|
|
|
Re: CompareViewerSwitchingPane [message #9100 is a reply to message #8978] |
Thu, 24 April 2003 06:38  |
Eclipse User |
|
|
|
Originally posted by: Andre_Weinand.oti.com
On 24.4.2003 7:23 Uhr, in article b87s9v$93d$1@rogue.oti.com, "Heinz Hinz"
<heinz-hinz@gmx.de> wrote:
> Andre Weinand wrote:
>> On 23.4.2003 15:39 Uhr, in article b864dm$3kh$1@rogue.oti.com, "Heinz Hinz"
>> <heinz-hinz@gmx.de> wrote:
>>
>>
>>> Is there anybody who could tell me how to use the
>>> CompareViewerSwitchingPane? I have no idea how to implement the viewer
>>> switching strategy.
>>> I think a standalone example would help me a lot!
>>>
>>
>>
>> What are you trying to achieve by using the CompareViewerSwitchingPane?
>>
>> --andre
>>
>
> I did not really understand what I can achieve by using it. So I'm
> asking this question, just as a result of general interest.
>
The CompareViewerSwitchingPane is an enhanced container for Viewers. It
helps choosing a Viewer for a given input object and deinstalls an old
viewer and installs the new one.
It is used in the context of compare functionality: If you compare two
folders (action "Compare with each other" in Navigator's context menu), the
resulting CompareEditor typically consists of several
CompareViewerSwitchingPanes. The editor's input is forwarded to the top
CompareViewerSwitchingPane, which determines (based on the input object),
what Viewer gets installed in the Pane.
You can find other examples where a CompareViewerSwitchingPane is used by
"Searching for references" on the CompareViewerSwitchingPane's constructor.
--andre
|
|
|
Powered by
FUDForum. Page generated in 0.04075 seconds