|
|
|
Re: Property sheet problems with MPE [message #176256 is a reply to message #176121] |
Fri, 08 April 2005 18:34 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=46207
The current MPE in the workbench is a flawed concept. It will never work as
you want it to.
"Barry Lay" <blay@laysercomputing.com> wrote in message
news:d34s5m$95q$1@news.eclipse.org...
> Pratik Shah wrote:
>> You're not using EMF's providers as property sources, are you?
>
> Yes I am. I used the mechanism EDiagram uses to do this.
>
>> I don't know how the MPE works, but I take it that somewhere somebody is
>> properly updating the selection provider when pages are flipped.
>> Something
>> like:
>> getSite().getWorkbenchWindow().getSelectionService().setSele ctionProvider(ge
>> tCurrentPage().getGraphicalViewer()).
>
> This method doesn't exist, but getSite().setSelectionProvider() does. I
> added this to the setFocus method of the GEF editor page and this seems to
> fix the problem.
>
> I guess that multiple GEF editors wasn't part of thinking for the
> examples - its not exactly a beginner issue. Perhaps this detail might be
> included in a future example for those of us that are too ambitious for
> our own good.
>
> Thanks for all of your help. You lead me to the solution.
>
> Barry
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds