Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Programmatically Arrange Editors/Editor Stacks?
Programmatically Arrange Editors/Editor Stacks? [message #322790] Thu, 29 November 2007 02:23 Go to next message
Eclipse UserFriend
Originally posted by: sddavis.cs.ubc.ca

Hi,

I'm wondering if it's possible to programmatically (i.e. from within a
plugin) control the position of editors in Eclipse. I would like to be
able to open an editor and have it automatically appear in a new editor
stack in certain circumstances, rather than the usual behavior of joining
the current stack and covering up the currently active editor. I can't
find anything about this in the documentation or newsgroups.

Thanks,
Sam
Re: Programmatically Arrange Editors/Editor Stacks? [message #322813 is a reply to message #322790] Thu, 29 November 2007 13:50 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There should be something in the newsgroups, since this comes up
occasionally.

There is no API to do this, since its support can be presentation
dependent. However, we do have tests that programmatically drag editors
around, check out org.eclipse.ui.tests.session.Bug95357Test from
org.eclipse.ui.tests

PW

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


Re: Programmatically Arrange Editors/Editor Stacks? [message #322826 is a reply to message #322813] Thu, 29 November 2007 19:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sddavis.cs.ubc.ca

Thanks much. Here's the URL, in case anyone else is looking for it:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.test s/Eclipse%20UI%20Tests/org/eclipse/ui/tests/session/Bug95357 Test.java?view=markup
Re: Programmatically Arrange Editors/Editor Stacks? [message #1194672 is a reply to message #322826] Mon, 18 November 2013 16:35 Go to previous message
Marco mvmsoft is currently offline Marco mvmsoftFriend
Messages: 14
Registered: July 2009
Location: Germany
Junior Member
now found at http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/tests/org.eclipse.ui.tests/Eclipse%20UI%20Tests/org/eclipse/ui/tests/session/Bug95357Test.java
Previous Topic:Eclipse Code Template
Next Topic:Remote System Explorer Operation freezes editor
Goto Forum:
  


Current Time: Thu Apr 25 12:15:10 GMT 2024

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

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

Back to the top