Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Get visible parts of a partstack
Get visible parts of a partstack [message #1065893] Fri, 28 June 2013 07:37 Go to next message
Markuz Surfing is currently offline Markuz SurfingFriend
Messages: 7
Registered: June 2013
Junior Member
Is there any easy way to get the current visible parts of a partstack?

I'm thinking of getting the children of the partstack and check each if it is visible via loop, but is there any other way?
Re: Get visible parts of a partstack [message #1065913 is a reply to message #1065893] Fri, 28 June 2013 09:58 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

I'm not sure if you can grab the list of visible parts but there is a isPartVisible method in the EPartService which checks all corner cases in which a single part is visible (not necessarily focused) or not.
Re: Get visible parts of a partstack [message #1180790 is a reply to message #1065913] Mon, 11 November 2013 06:45 Go to previous message
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
Registered: October 2012
Location: Bangalore
Senior Member

Thanks Sopot Cela. Smile
Previous Topic:workbench.xmi is not written in my e4 app
Next Topic:Saving and restoring all open editors including layout / Replace parts of the UI model
Goto Forum:

Current Time: Sun Feb 23 02:29:57 GMT 2020

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

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

Back to the top