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 03:37 Go to next message
Markuz Surfing is currently offline Markuz Surfing
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 05:58 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 589
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 01:45 Go to previous message
sumit singh is currently offline sumit singh
Messages: 121
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: Sat Apr 19 00:37:47 EDT 2014

Powered by FUDForum. Page generated in 0.12440 seconds