Hello,

I have a question regarding modeless windows that are children of the toplevel 
window, i.e the workbench window. 

Can we use the berry framework to access these dialogs (and their children) to 
manipulate perspectives of these windows?

For example, I have two qmitkrenderwindows created as children of the main 
window. These windows are instantiated through a plugin. 

 berry::IWorkbenchWindow::Pointer window;
 window = this->GetSite()->GetWorkbenchWindow();
 QMainWindow* mainWindow = 
static_cast<QMainWindow*>(window->GetShell()->GetControl());
 HMDRenderWindow *leftARWindow=new 
HMDRenderWindow(mainWindow,"left.HMD.eye",NULL,0);
 HMDRenderWindow *rightARWindow=new 
HMDRenderWindow(mainWindow,"right.HMD.eye",NULL,1);

Can anyone help me identify a method to add or remove child widgets from these 
windows (leftARWindow and rightARWindow) using the Berry framework?

Thanks in Advance!

Keshav

Keshav Chintamani
Space Applications Services NV
Leuvensesteenweg 325
1932 Zaventem
Belgium
Tel: +32 2 721 54 84 Fax: +32 2 721 54 44
URL: http://www.spaceapplications.com




------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to