[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: check if view is showed

Found the answer myself ...
IPartListener2 does have partHidden(partRef) and partVisible(partRef).




Fleque wrote:

Thanks Pascal,

that seems to be what I was looking for.
Is there a way to listen (be notified) to changes in that state?
I found IPartListener but this does not seem to have the right methods to get notified when visibility changes.


Regards, Alex


Pascal Rapicault wrote:

See IWorkbenchPage.isPartVisible(...)

Fleque wrote:

Hi all,

is it possible to determine wether the Controls of a ViewPart are currently visible to the user?

Regards, Alex