Thank you for your answer Ingmar. I just found this mail asking the same
question:
https://www.mail-archive.com/[email protected]/msg02604.html
which confirms that it isn't possible. Things have probably not changed
since january 2012.
/"You can certainly open up the view after detecting the view to be closed/"
I can try that, but I'm not sure how to start. Is there any example in
mitk's source somewhere?
Le 2014-10-20 15:35, Wegner a écrit :
Hi Nil,
I also tried the same and I was told that osgi doesn't forsee a view
to be not closable.
You can certainly open up the view after detecting the view to be
closed but to remove the cross for closing isn't possible, I think.
Let's hope that things have changed and wait for an up-to-date answer.
Best,
Ingmar
Am 20.10.2014 19:30, schrieb Nil Goyette:
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