implement two OutlinePages [message #191145] |
Mon, 08 August 2005 21:27 |
Eclipse User |
|
|
|
Originally posted by: pbeagan.yahoo_nospam_.com
For my project editor I want to implement both a ContentOutlinePage (as in
the Shapes example, showing an selectable outline of objects) and a
OverviewOutlinePage (as in the Schema diagram example ,showing a viewport
of an editor ). The way the getAdapter() is implemented in the
GraphicalEditor , it seems that I can only have one. What is the best way
to get both of these to show up next to the editor? Or is it even possible
to have two?
|
|
|
Re: implement two OutlinePages [message #191161 is a reply to message #191145] |
Mon, 08 August 2005 22:02 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
See the logic example. Basically you have to stack both pages on a PageBook
(or a Composite would work too) and flip them as needed.
"Patrick Beagan" <pbeagan@yahoo_nospam_.com> wrote in message
news:dd8idu$p72$2@news.eclipse.org...
> For my project editor I want to implement both a ContentOutlinePage (as in
> the Shapes example, showing an selectable outline of objects) and a
> OverviewOutlinePage (as in the Schema diagram example ,showing a viewport
> of an editor ). The way the getAdapter() is implemented in the
> GraphicalEditor , it seems that I can only have one. What is the best way
> to get both of these to show up next to the editor? Or is it even
> possible
> to have two?
|
|
|
Re: implement two OutlinePages [message #191167 is a reply to message #191161] |
Mon, 08 August 2005 22:37 |
Eclipse User |
|
|
|
Originally posted by: pbeagan.yahoo_nospam_.com
That worked exactly as needed. Thanks!
Randy Hudson wrote:
> See the logic example. Basically you have to stack both pages on a
> PageBook (or a Composite would work too) and flip them as needed.
>
> "Patrick Beagan" <pbeagan@yahoo_nospam_.com> wrote in message
> news:dd8idu$p72$2@news.eclipse.org...
>> For my project editor I want to implement both a ContentOutlinePage (as
>> in the Shapes example, showing an selectable outline of objects) and a
>> OverviewOutlinePage (as in the Schema diagram example ,showing a viewport
>> of an editor ). The way the getAdapter() is implemented in the
>> GraphicalEditor , it seems that I can only have one. What is the best
>> way
>> to get both of these to show up next to the editor? Or is it even
>> possible
>> to have two?
|
|
|
Powered by
FUDForum. Page generated in 0.03770 seconds