Hi all,

I'm trying to remove the 'X' on the 4views plugin, code named "org.mitk.gui.qt.stdmultiwidgeteditor" I think. It doesn't make any sense to close it for us. We usually put this code in our application perspective in the method "CreateInitialLayout".

void DefaultPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  lo = layout->GetViewLayout("org.mitk.gui.qt.stdmultiwidgeteditor");
  lo->SetCloseable(false);

It does nothing, as if the 4views wasn't defined yet or I had the wrong name. Can it be done? If it's impossible to do without modifying mitk's code, please tell me anyway.
Thanks for your time.

--
Logo Imeka <http://imeka.ca/>     Nil Goyette, M.Sc.
www.imeka.ca <http://imeka.ca/>

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to