Thank you for your answer. Sure you can use this wherever you want.
Thank again. -----Mensaje original----- De: [email protected] [mailto:[email protected]] En nombre de Neil Bartlett Enviado el: miércoles, 28 de abril de 2010 18:10 Para: Equinox development mailing list Asunto: Re: [equinox-dev] Calling Equinox close command by code David, The way to shutdown the OSGi framework is to obtain the system bundle (id zero) and call stop(): context.getBundle(0).stop(); This will work across all frameworks, not just Equinox. On a meta note to the list... can we get this question and answer into a FAQ somewhere? It seems to get asked every few weeks! Regards Neil On Wed, Apr 28, 2010 at 5:05 PM, David Conde <[email protected]> wrote: > Hi, > > Is there any way to call the “close” command by programming? > > > > I need something to call close command from my Visual User Interface in > order to close the application though a button. > > > > Thank you in advance > > _______________________________________________ > equinox-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/equinox-dev > > _______________________________________________ equinox-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev _______________________________________________ equinox-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev
