Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » How to check is MPart hiden/closed?
How to check is MPart hiden/closed? [message #1691715] Thu, 09 April 2015 09:16 Go to next message
Bart Cichy is currently offline Bart CichyFriend
Messages: 13
Registered: March 2015
Location: Poland
Junior Member
Hello,

How can I check is MPart hiden/closed?
scenario:
- run application with MPart[x]
- close MPart[x] by clicking top-right-x

now I check MPart.isVisible()->true, EPartServise.isPartVisible()->true.

Is any other option? Or maybe isVisible()/isPartVisible() it should return false?

Regards
Re: How to check is MPart hiden/closed? [message #1691738 is a reply to message #1691715] Thu, 09 April 2015 11:42 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Closing a part only flips the toBeRenderer-flag, the MPart even stays in
the model unless you tagged it with EPartService.REMOVE_ON_HIDE_TAG!

Tom

On 09.04.15 11:16, Bart Cichy wrote:
> Hello,
>
> How can I check is MPart hiden/closed?
> scenario:
> - run application with MPart[x]
> - close MPart[x] by clicking top-right-x
>
> now I check MPart.isVisible()->true, EPartServise.isPartVisible()->true.
>
> Is any other option? Or maybe isVisible()/isPartVisible() it should
> return false?
>
> Regards
Previous Topic:How to set WindowCloseHandler
Next Topic:Multi monitor support
Goto Forum:
  


Current Time: Wed Sep 25 15:10:20 GMT 2024

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

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

Back to the top