Hi Sascha,

I currently use my own WorkbenchWindowAdvisor, derived from 
QmitkExtWorkbenchWindowAdvsor and I just put

  // When the GUI starts, I don't want the Modules plugin to be visible.
  std::vector<std::string> viewExcludeList = this->GetViewExcludeList();
  viewExcludeList.push_back("org.mitk.views.modules");
  this->SetViewExcludeList(viewExcludeList);

in the PreWindowOpen method, and that does the trick nicely.

Thanks 

Matt

_______________________________________
From: Sascha Zelzer [s.zel...@dkfz-heidelberg.de]
Sent: 03 May 2012 09:02
To: Clarkson, Matt
Cc: mitk-users
Subject: Re: [mitk-users] Modules View

Hi Matt,

crashing, it should not :-)

You are right, it is rather a "developer tool" and not for the end-user.
If you are using the QmitkExtWorkbenchWindowAdvisor, you can filter the
visible views by using the SetViewExcludeList() method. Would that be
good enough?

Thanks,

Sascha



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to