Hello MITK users,

Please ignore the previous question, it was not framed right!

The actual question is: Is there any way to move a plugin view out of the 
workbench and position it elsewhere using the berry framework?

I need to position a view at a particular location on a different display 
running on my machine. And the view has to be outside the workbench.

Any help is appreciated. 

Keshav


----- Original Message -----
From: "Keshav Chintamani" <[email protected]>
To: "mitk-users" <[email protected]>
Sent: Tuesday, July 27, 2010 1:24:38 PM
Subject: [mitk-users] A question about managing dialogs which are children of 
the workbench window

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

------------------------------------------------------------------------------
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