Hello
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().addMouseListener(mouseListener);
I have maden this too but it ins't good.
EditorSashContainer editorSachContainer=...
MouseListener mouseListener=new ...
editorSashContainer.getActiveWorkbook().getTabList()[0].addMouseListener(mouseListener);
Thanks a lot
Jose
[Updated on: Wed, 04 August 2010 07:26]
Report message to a moderator