Hi,
        I have two questions about mitk in development.
        1.how to create mutiple workbench windows in workbench? i have seen a 
few code in QmitkExtAppWorkbenchAdvisor.cpp
  berry::WorkbenchWindowAdvisor*
QmitkExtAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor(
        berry::IWorkbenchWindowConfigurer::Pointer configurer)
{
  QmitkExtWorkbenchWindowAdvisor* advisor = new
    QmitkExtWorkbenchWindowAdvisor(this, configurer);


  // Exclude the help perspective from org.blueberry.ui.qt.help from
  // the normal perspective list.
  // The perspective gets a dedicated menu entry in the help menu
  QList<QString> excludePerspectives;
  excludePerspectives.push_back("org.blueberry.perspectives.help");
  advisor->SetPerspectiveExcludeList(excludePerspectives);


  // Exclude some views from the normal view list
  QList<QString> excludeViews;
  excludeViews.push_back("org.mitk.views.modules");
  excludeViews.push_back( "org.blueberry.ui.internal.introview" );
  advisor->SetViewExcludeList(excludeViews);


  advisor->SetWindowIcon(":/org.mitk.gui.qt.extapplication/icon.png");
  return advisor;
  //return new QmitkExtWorkbenchWindowAdvisor(this, configurer);
}
I would think multiple
windows would be managed from this point, However, this function
just creates a new window advisor


also ,i have seen a example about BlueBerryExampleLauncher, but it is only a 
dialog,not a workbench window ,any suggestion?


     2.The four render windows and the workbench window can not display at  
same time when it starts up. In order to make it display at same time,i want to 
create a splash screen.
i use a splash screen in ctk framework, but it so fast that disappeared when 
workbench will be create.I hope some words can display in the splash screen, 
init ctk, set up ctk framework , create workbench ,load plugins and so on
Can anyone direct me where to add a splash screen properly.
     Happy New year!
 
thanks
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to