| Search Page open Tab on default [message #490472] |
Thu, 08 October 2009 14:11  |
Eclipse User |
|
|
|
Hi,
I have a problem figuring out how to make my search tab open when a certain editor is opened.
E.g. when a java file is opened the java the java search openes automatically.
I have my custom gmf editor and a search to that editor. If I click on my file and open the search, my tab opens since I specified the file extension for my diagram files. However, if I am in the editor (my editor is active) and I press ctrl+h the file search openes and not my.
I tried to implement the adapter for my diagram file but that didn't help it.
Any hint on how to achieve that?
best regards,
artur
|
|
|
|
|
|
| Re: Search Page open Tab on default [message #491165 is a reply to message #491073] |
Tue, 13 October 2009 10:07  |
Eclipse User |
|
|
|
Hi Aurelien,
Thank you for your answer.
unfortunatelly I can neither on my DiagramEditor nor on my ISearchPage register an IPartListener2. this seems not to be working..
Any other ideas?
Artur
| Aurelien Pupier wrote on Tue, 13 October 2009 03:20 | Hi,
I think that you can add an IPartListener2 on the editor. And implement the partOpened method by calling your view.
Regards,
Aurelien Pupier
|
|
|
|
Powered by
FUDForum. Page generated in 0.03373 seconds