Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Editor part listener
Editor part listener [message #463075] Mon, 05 February 2007 20:46 Go to next message
Eclipse UserFriend
Originally posted by: jelgolfnut.gmail.com

Any suggestions on how to add a listener to an editor that reacts to the
open event....I don't want to use the general PartService to add the
listener because I don't want my listener to be populated with an if
instanceof for each type of editor I have.....I try to minimize the use of
instanceof....
thanks
Re: Editor part listener [message #463282 is a reply to message #463075] Wed, 07 February 2007 13:32 Go to previous message
Eclipse UserFriend
you would use IPartListener2 and IWorkbenchPartReference#getId() to
check against your editors ID

PW
Previous Topic:Questions to MasterDetailsBlock
Next Topic:Link Views and Editors
Goto Forum:
  


Current Time: Thu Jul 17 04:52:03 EDT 2025

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

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

Back to the top