Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to re-sort editors that have been opened?
icon9.gif  how to re-sort editors that have been opened? [message #693788] Thu, 07 July 2011 08:18 Go to next message
P.C.D  is currently offline P.C.D Friend
Messages: 1
Registered: July 2011
Junior Member
Dear all:
in some already opened editors, i need to put the specified editor in the first place,not mean to drag the editor, it need to be done in codeing such as refactor operation ,how to do it?
ex:
use API :[PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditorReferences()] to get All opened editors info;
now need move the editor that index is 3 to the first place
please help
(no subject) [message #695316 is a reply to message #693788] Mon, 11 July 2011 13:34 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
On 07.07.2011 10:18, P.C.D wrote:
> Dear all:
> in some already opened editors, i need to put the specified editor in
> the first place,not mean to drag the editor, it need to be done in
> codeing such as refactor operation ,how to do it?
> ex:
> use API
> :[PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditorReferences()]
> to get All opened editors info;
> now need move the editor that index is 3 to the first place
> please help
>
I don't think there's an API to do that.

Dani
Previous Topic:Eclipse Platform Api - site down
Next Topic:Mac OS X Eclipse.app Cant Find Java Virtual Machine
Goto Forum:
  


Current Time: Wed Nov 26 03:23:08 GMT 2014

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

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