Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » CompareViewerSwitchingPane
CompareViewerSwitchingPane [message #6185] Wed, 23 April 2003 09:39 Go to next message
Eclipse UserFriend
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 #7864 is a reply to message #6185] Wed, 23 April 2003 18:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Andre_Weinand.oti.com

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
Re: CompareViewerSwitchingPane [message #8978 is a reply to message #7864] Thu, 24 April 2003 01:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: heinz-hinz.gmx.de

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.
Re: CompareViewerSwitchingPane [message #9100 is a reply to message #8978] Thu, 24 April 2003 06:38 Go to previous message
Eclipse UserFriend
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
Previous Topic:Replace with newline
Next Topic:[JFace] setting a checkbox in a Table
Goto Forum:
  


Current Time: Sat Jun 07 23:36:27 EDT 2025

Powered by FUDForum. Page generated in 0.04075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top