Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Views and Editors in same folder?
Views and Editors in same folder? [message #852122] Sat, 21 April 2012 17:58 Go to next message
abadamcd1 abadamcd1 is currently offline abadamcd1 abadamcd1Friend
Messages: 40
Registered: December 2011
Member
Is it possible to put views and editors into the same folder layout?

My application has Views and editors that need to go into the same area. Sometimes they can view graphs, but then I want tabs where they can also edit the data from those graphs. It wouldn't make sense to the user to put the graphs in one pane and then the editor in another.

Re: Views and Editors in same folder? [message #853201 is a reply to message #852122] Sun, 22 April 2012 20:40 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
Not in 3.x but in 4.x. Not sure the compat layer allows this through API
but at runtime it works without problems.

Tom

Am 21.04.12 19:58, schrieb Crypt Demon:
> Is it possible to put views and editors into the same folder layout?
>
> My application has Views and editors that need to go into the same
> area. Sometimes they can view graphs, but then I want tabs where they
> can also edit the data from those graphs. It wouldn't make sense to the
> user to put the graphs in one pane and then the editor in another.
>
>
Re: Views and Editors in same folder? [message #855035 is a reply to message #853201] Tue, 24 April 2012 13:21 Go to previous messageGo to next message
abadamcd1 abadamcd1 is currently offline abadamcd1 abadamcd1Friend
Messages: 40
Registered: December 2011
Member
Hmm. Guess I'll just have to do a workaround and make any editors I want from views. I was wanting to use the forms api too. Don't think it's possible to use that inside a view since it's extended from EditorPart.
Re: Views and Editors in same folder? [message #855069 is a reply to message #855035] Tue, 24 April 2012 13:50 Go to previous message
Simon Scholz is currently offline Simon ScholzFriend
Messages: 73
Registered: April 2012
Location: Germany
Member
Hello,

the Forms API itself can be accessed by the org.eclipse.ui.forms.widgets.FormToolkit.

For further information see this article: www.eclipse.org/articles/Article-Forms/article.html

Best regards,

Simon
Re: Views and Editors in same folder? [message #855072 is a reply to message #855035] Tue, 24 April 2012 13:50 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
The low-level forms API can be used anywhere and is not bound to Editors
or Views.

I'd suggest to go with views and ISaveablePart2 interface in there.
Editors can't be bound to a perspective and are visible in any you have
that shows and editor-area.

Tom

Am 24.04.12 15:21, schrieb Crypt Demon:
> Hmm. Guess I'll just have to do a workaround and make any editors I
> want from views. I was wanting to use the forms api too. Don't think
> it's possible to use that inside a view since it's extended from
> EditorPart.
Previous Topic:Importing WTP xml editor functionality in to an RCP
Next Topic:Multiple products in one "export" folder
Goto Forum:
  


Current Time: Sat Dec 20 17:17:11 GMT 2014

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

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