Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Constructor of WaitForShell is package private
Constructor of WaitForShell is package private [message #30220] Wed, 25 March 2009 06:30 Go to next message
Eclipse UserFriend
Hi Ketan.
I would like to use the public class "WaitForShell", but I can't, because
the constructor is package private. Is that on purpose?

Best regards,
Anders Baumann
Re: Constructor of WaitForShell is package private [message #30256 is a reply to message #30220] Wed, 25 March 2009 07:11 Go to previous messageGo to next message
Eclipse UserFriend
Sorry. I found the Conditions factory class where there is a static
waitForShell method.

Best regards,
Anders


"Anders Baumann" <anb@maconomy.dk> wrote in message
news:gqd152$jp3$1@build.eclipse.org...
> Hi Ketan.
> I would like to use the public class "WaitForShell", but I can't, because
> the constructor is package private. Is that on purpose?
>
> Best regards,
> Anders Baumann
>
Re: Constructor of WaitForShell is package private [message #30328 is a reply to message #30256] Wed, 25 March 2009 08:21 Go to previous message
Eclipse UserFriend
The constructors are private for a good reason, so that clients can
always use the factory methods.

-- Ketan

On 25/3/09 04:11, Anders Baumann wrote:
> Sorry. I found the Conditions factory class where there is a static
> waitForShell method.
>
> Best regards,
> Anders
>
>
> "Anders Baumann"<anb@maconomy.dk> wrote in message
> news:gqd152$jp3$1@build.eclipse.org...
>> Hi Ketan.
>> I would like to use the public class "WaitForShell", but I can't, because
>> the constructor is package private. Is that on purpose?
>>
>> Best regards,
>> Anders Baumann
>>
>
>
Previous Topic:how to access toggle button
Next Topic:EclipseCon 2009 tutorial update
Goto Forum:
  


Current Time: Tue May 13 16:46:32 EDT 2025

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

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

Back to the top