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: 29
Registered: April 2013
Junior 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: 29
Registered: April 2013
Junior 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: Mon Nov 24 02:56:27 GMT 2014

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

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