|Second WorkbenchWindow instance which is fully customizable [message #541981]
||Wed, 23 June 2010 08:52
| No real name
Registered: June 2010
what I currently need is opening a new instance of workbenchWindow (similar to Window-> New Window), but this WorkbenchWindow must be customizable. This means I want to define new toolbar items and new perspectives and view or editor parts.
Currently I have tried the following:
first: created a class which implements the JFace ApplicationWindow. Here the problem is that I don't have the wonderful functionality of having perspectives, editors and views. Or is there a way to achieve this??
second: I had a look on the classes WorkbenchWindow, WorkbenchWindowConfigurer, WorkbenchWindowAdvisor. Currently I'm not sure if I can realize an own implementation of IWorkbenchWindow which is then customizable. So more or less make a copy of the current WorkbenchWindow implementation and adjust in a way that I can open it. Currently I don't know if this is possible.
Hope somebody knows a way to achieve this. Maybe there is a way to simply create a new instance of workbenchWindow which is afterwards customizable through e.g. own written classes extending WorkbenchWindowAdvisor.
I also searched if something will be added in the e4. I think it would be wonderful to create an empty workbenchwindow which is fully customizable.
Hope somebody can help me.
Powered by FUDForum
. Page generated in 0.01788 seconds