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 03:18 Go to next message
Gennady Gromov is currently offline Gennady Gromov
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 03:28 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1255
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 03:33 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5286
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 03:54 Go to previous messageGo to next message
Gennady Gromov is currently offline Gennady Gromov
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 05:07 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

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 08:14 Go to previous messageGo to next message
Nagesh Bansal is currently offline Nagesh Bansal
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 08:17 Go to previous messageGo to next message
Gennady Gromov is currently offline Gennady Gromov
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 03:32 Go to previous messageGo to next message
Alex Kipling is currently offline Alex Kipling
Messages: 250
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 05:58 Go to previous messageGo to next message
Nagesh Bansal is currently offline Nagesh Bansal
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 17:24 Go to previous message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

The class URI is irrelevant. Actually the part stack has no class URI.
Previous Topic:Contacts Demo not working properly
Next Topic:CSS Styling for disabled widgets
Goto Forum:
  


Current Time: Sat Aug 23 07:45:23 EDT 2014

Powered by FUDForum. Page generated in 0.01807 seconds