Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Editor Tab
Editor Tab [message #606403] Wed, 04 August 2010 07:13
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 100
Registered: March 2010
Senior Member

I need know when I click in tab of editors in eclipse.

I have set a MouseListener to partStack (editorStack) of editorSashContainer (EditorArea) but I want to add the listener to a tab of editor only, for example:
If I have 3 editors opend and I add a listener to 2th editor I want to listener when I make click over the tab of 2th editor, (although the 2th editor has the focus)

EditorSashContainer editorSachContainer=...
MouseListener mouseListener=new ...

editorSashContainer.getActiveWorkbook().getControl().addMous eListener(mouseListener);

Thanks a lot
Previous Topic:Errors when following the Plug-in Cheat Sheet
Next Topic:Resolving nested plugin dependencies?
Goto Forum:

Current Time: Tue Apr 24 09:10:48 GMT 2018

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

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