Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Howto Assert/Ensure that the platform is initialized
Howto Assert/Ensure that the platform is initialized [message #160973] Mon, 24 November 2003 15:06 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
> >
> >
>
Previous Topic:What's with the funky text insertion cursor in M5?
Next Topic:SAX2 driver class org.apache.xerces.parsers.SAXParser not found
Goto Forum:
  


Current Time: Mon Nov 11 08:34:34 GMT 2024

Powered by FUDForum. Page generated in 0.03706 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top