Hi,

The opencherry view layout mechanism is very flexible. But I do not know how
to set the view position of a plugin. For example, I want to make
org.mitk.gui.qt.measurement
to be a toolbar under the bottom of the menu bar when ExtApp starts up.
In org.mitk.gui.qt.application,  I change the layout to

  std::string editorArea = layout->GetEditorArea();
  cherry::IFolderLayout::Pointer top = layout->CreateFolder("top",
cherry::IPageLayout::TOP, 0.1f, editorArea);
  top->AddView("org.mitk.gui.qt.measurement");
  layout->AddView("org.mitk.views.datamanager", cherry::IPageLayout::RIGHT,
0.7f, editorArea);

But this plugin can not be initalized to that place, only a null view there.
How to make it
boot when ExtApp boot?

Thanks!

Fucang
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to