Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Editor area
Editor area [message #944958] Mon, 15 October 2012 07:18 Go to next message
Gennady Gromov is currently offline Gennady GromovFriend
Messages: 24
Registered: May 2011
Junior Member
I have to use one of part stacks as an editor area. But when it is added the dependence "org.eclipse.e4.ui.workbench.addons.swt" (DndAddon, MinMaxAddon) part stack disappears when I close the last part and its place fill another part stacks. But it is necessary this specifically empty area must be visible.
How to make the nondisappearing editor area?
Re: Editor area [message #944978 is a reply to message #944958] Mon, 15 October 2012 07:28 Go to previous messageGo to next message
Dirk Fauth is currently online Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Haven't tried it yet, but I suppose to do this you have to use PartDefinitions for your editor parts. In your PartStack you configure a Placeholder that references the specific parts. It should be rendered and visible.
Re: Editor area [message #944994 is a reply to message #944958] Mon, 15 October 2012 07:33 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Happens because of the clean up addon. You can tag stacks to not auto
collapse by adding the "NoAutoCollapse" to the tags-list of the stack.

Tom

Am 15.10.12 09:18, schrieb Gennady Gromov:
> I have to use one of part stacks as an editor area. But when it is added
> the dependence "org.eclipse.e4.ui.workbench.addons.swt" (DndAddon,
> MinMaxAddon) part stack disappears when I close the last part and its
> place fill another part stacks. But it is necessary this specifically
> empty area must be visible.
> How to make the nondisappearing editor area?
Re: Editor area [message #945029 is a reply to message #944994] Mon, 15 October 2012 07:54 Go to previous messageGo to next message
Gennady Gromov is currently offline Gennady GromovFriend
Messages: 24
Registered: May 2011
Junior Member
Thank you very much! It works.

But where can I see all allowable tags for UI Elements (not only for part stack)?
Re: Editor area [message #945144 is a reply to message #945029] Mon, 15 October 2012 09:07 Go to previous messageGo to next message
Eclipse UserFriend
Some are here http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java
Some others are in the renderers (o.e.e4.renderers.*)
Re: Editor area [message #962898 is a reply to message #945144] Mon, 29 October 2012 12:14 Go to previous messageGo to next message
Nagesh Bansal is currently offline Nagesh BansalFriend
Messages: 21
Registered: September 2012
Junior Member
HI Gennady Gromov,
Can you please share how you were able to make one of the part as the editor. I have been trying it for quite sometime
Re: Editor area [message #962904 is a reply to message #962898] Mon, 29 October 2012 12:17 Go to previous messageGo to next message
Gennady Gromov is currently offline Gennady GromovFriend
Messages: 24
Registered: May 2011
Junior Member
Use the Area with included PartStack
Re: Editor area [message #987573 is a reply to message #962904] Tue, 27 November 2012 08:32 Go to previous messageGo to next message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
Registered: July 2012
Senior Member
There are two details about using this Tag:


  • NoAutoCollapse - is the right Tag, with a capitalCollapse
  • The Tag should be applied to the PartStack.


The Tag worked for me.

Re: Editor area [message #988821 is a reply to message #987573] Mon, 03 December 2012 10:58 Go to previous messageGo to next message
Nagesh Bansal is currently offline Nagesh BansalFriend
Messages: 21
Registered: September 2012
Junior Member
@Gennady: in the class URI what do I define?
Re: Editor area [message #988943 is a reply to message #988821] Mon, 03 December 2012 22:24 Go to previous messageGo to next message
Eclipse UserFriend
The class URI is irrelevant. Actually the part stack has no class URI.
Re: Editor area [message #1732877 is a reply to message #945144] Sat, 21 May 2016 09:57 Go to previous message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
I don't see

Quote:
Some others are in the renderers (o.e.e4.renderers.*)


Does anyone know where to find it, or what it was replaced by?


Oxygen 3a
Windows 10
Previous Topic:Visibility of new editor part
Next Topic:How does one get the minimize and maximize view menu items to render on the view menu?
Goto Forum:
  


Current Time: Tue Mar 19 11:53:31 GMT 2024

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

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

Back to the top