Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Listen to change in PartStack((Part closed, opened, and activated...))
Listen to change in PartStack [message #1068805] Sun, 14 July 2013 12:17 Go to next message
AIT YAHIA Idir is currently offline AIT YAHIA IdirFriend
Messages: 39
Registered: April 2013
Member
hello,

how to listen a change in a particular PartStack, like part activated, desactivated or Closed.

the goal is to relate the state of the active share in my status bar, I looked around the use of I looked around the use IPartListener

someone can it guide me how to implement such behavior

Re: Listen to change in PartStack [message #1069508 is a reply to message #1068805] Tue, 16 July 2013 02:48 Go to previous message
AIT YAHIA Idir is currently offline AIT YAHIA IdirFriend
Messages: 39
Registered: April 2013
Member
I finally solved the problem by using an IEventBroker, the Tom Schindl tutorial has been of great help for me.

http://tomsondev.bestsolution.at/2011/02/07/enhanced-rcp-how-views-can-communicate-the-e4-way/

the event are sent in my @Focus part method, and i capture them on my status bar.

Previous Topic:Possibly incomplete PartDescriptor functionality?
Next Topic:ILabelDecorator in e4
Goto Forum:
  


Current Time: Wed Apr 24 16:04:34 GMT 2024

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

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

Back to the top