Ingmar,
Thanks for the answer. Any pointers as to where in the code we can detect
the view to be closed?
-F
On Mon, Oct 20, 2014 at 3:35 PM, Wegner <[email protected]> wrote:
> 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
> >
>
>
> ------------------------------------------------------------------------------
> 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
>
--
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
------------------------------------------------------------------------------
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