Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Checking if a part inside of a PartStack was closed by pressing the close icon in the tab.
Checking if a part inside of a PartStack was closed by pressing the close icon in the tab. [message #1731676] Mon, 09 May 2016 04:15 Go to next message
Eclipse UserFriend
Platform: WIndows 8.1 Pro

Parts in my PartStack are currently being closed in two ways.
1. By pressing the close icon on the corresponding tab.
2. By reloading the entire PartStack. (custom method, uses EPartService.hidePart())

I'm working on caching peviously opened parts to reopen then when the PartStack is reloaded. But I also need to remove them from the cache when the part is closed by pressing the close icon.

Is there an event or something similar to catch the pressing of the close icon?

Thanks for your help.

Edit:
Can be closed.
I used my problem by using tags.

[Updated on: Thu, 12 May 2016 04:41] by Moderator

Re: Checking if a part inside of a PartStack was closed by pressing the close icon in the tab. [message #1734361 is a reply to message #1731676] Tue, 07 June 2016 09:40 Go to previous message
Eclipse UserFriend
Hey.. how exactly did you use tags to solve this issue?
*thanks* !
Previous Topic:Pre-Shutdown hooks
Next Topic:Export RCP don't work
Goto Forum:
  


Current Time: Wed Jul 23 21:24:47 EDT 2025

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

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

Back to the top