Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Get all active documents?

org.eclipse.core.filebuffers.IFileBufferManager.getFileBuffers() will give you all that use the File Buffer framework.

Dani



From:        Mickael Istria <mistria@xxxxxxxxxx>
To:        "Eclipse Platform UI component developers list." <platform-ui-dev@xxxxxxxxxxx>
Date:        18.07.2016 15:08
Subject:        [platform-ui-dev] Get all active documents?
Sent by:        platform-ui-dev-bounces@xxxxxxxxxxx




Hi all,

I'm looking for a way, if existing, to retrieve all the active documents open in the IDE, and ideally, the IFile or IEditorInput that's linked to them.

Does anyone have a clue of how to achieve that? I imagine I could iterate on all open editors, but there are also cases of Document being open in some other viewers that are not necessarily editors. I'd like to also get those.

Thanks in advance for your help.

--
Mickael Istria
Eclipse developer at
JBoss, by Red Hat
My blog - My Tweets_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev



Back to the top