Howto Assert/Ensure that the platform is initialized [message #160973] |
Mon, 24 November 2003 15:06 |
Eclipse User |
|
|
|
Originally posted by: matthias.re-spam-move.david.gmx.de
Hi
I'm trying to bullet proof some of my code.
And I'm looking for a way to assert that the method is only called if the
platform is running.
So noone uses my libraries outside a running eclipse platform, like from a
plan java app.
I found the perfect method "assertInitialized()" unfortunatly it is a
private method of InternalPlatform.
Matt
|
|
|
Re: Howto Assert/Ensure that the platform is initialized [message #162423 is a reply to message #160973] |
Wed, 26 November 2003 20:45 |
Eclipse User |
|
|
|
Originally posted by: John_Arthorne.oti.com_
BootLoader.isRunning()
--
Matthias wrote:
> Hi
>
> I'm trying to bullet proof some of my code.
> And I'm looking for a way to assert that the method is only called if the
> platform is running.
> So noone uses my libraries outside a running eclipse platform, like from a
> plan java app.
>
> I found the perfect method "assertInitialized()" unfortunatly it is a
> private method of InternalPlatform.
>
> Matt
>
>
|
|
|
Re: Howto Assert/Ensure that the platform is initialized [message #162785 is a reply to message #162423] |
Thu, 27 November 2003 12:02 |
Eclipse User |
|
|
|
Originally posted by: matthias.re-spam-move.david.gmx.de
;-)
just about when I got it ....
thanks anyway
"John Arthorne" <John_Arthorne@oti.com_> wrote in message
news:3FC510D2.2050502@oti.com_...
> BootLoader.isRunning()
> --
>
> Matthias wrote:
> > Hi
> >
> > I'm trying to bullet proof some of my code.
> > And I'm looking for a way to assert that the method is only called if
the
> > platform is running.
> > So noone uses my libraries outside a running eclipse platform, like from
a
> > plan java app.
> >
> > I found the perfect method "assertInitialized()" unfortunatly it is a
> > private method of InternalPlatform.
> >
> > Matt
> >
> >
>
|
|
|
Powered by
FUDForum. Page generated in 0.02998 seconds