Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:15 Go to next message
Niklas Schulze is currently offline Niklas SchulzeFriend
Messages: 1
Registered: May 2016
Junior Member
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 08:41]

Report message to a 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 13:40 Go to previous message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 114
Registered: January 2015
Senior Member

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: Fri Aug 19 02:49:13 GMT 2022

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

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

Back to the top