Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » MultiEditor and Properties View problem
icon5.gif  MultiEditor and Properties View problem [message #648528] Thu, 13 January 2011 12:08 Go to next message
Marco C is currently offline Marco CFriend
Messages: 6
Registered: July 2010
Location: Italy
Junior Member
Hi All,
I'm currently using the class org.eclipse.ui.part.MultiEditor (subclassing it) to create a MultiEditor that shows two different (custom) editors side by side.
But there is a problem.
When i launch the multieditor it shows correctly the inner editors, but the properties view doesn't show anything when I select elements in the TreeViewer(s) inside the inner editors.
The only way to make the properties view work (and show the properties of elements currently selected in the tree viewers) is to close the properties view, select inside a inner editor the option "show properties" in the context menu and this will re-open the properties view with the correct properties showed.

So what can I have to do to resolve the problem?

If can help, the inner editors are generated with the tools of EMF.

Thanks in advice.

Marco

Re: MultiEditor and Properties View problem [message #648544 is a reply to message #648528] Thu, 13 January 2011 13:24 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 01/13/2011 07:08 AM, Marco C wrote:
> Hi All,
> I'm currently using the class org.eclipse.ui.part.MultiEditor
> (subclassing it) to create a MultiEditor that shows two different
> (custom) editors side by side.
> But there is a problem.

your MultiEditor needs to publish the active selection from the active
part through its selection service, no?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: MultiEditor and Properties View problem [message #648546 is a reply to message #648544] Thu, 13 January 2011 13:30 Go to previous messageGo to next message
Marco C is currently offline Marco CFriend
Messages: 6
Registered: July 2010
Location: Italy
Junior Member
Yes...how can I do this?
Re: MultiEditor and Properties View problem [message #725997 is a reply to message #648546] Fri, 16 September 2011 11:30 Go to previous message
christiancihFriend
Messages: 5
Registered: May 2010
Junior Member
Hello,

i have the same problem. Did you find a solution for displaying the properties out of an inner editor?

Chris
Previous Topic:Eclipse plugin problem
Next Topic:How to open a particular page of property dialog
Goto Forum:
  


Current Time: Wed Apr 24 16:49:18 GMT 2024

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

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

Back to the top