Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Matthias,

 

For that you just use your normal Eclipse password.

 

Cheers,

 

Wim

 

From: nebula-dev-bounces@xxxxxxxxxxx [mailto:nebula-dev-bounces@xxxxxxxxxxx] On Behalf Of Matthias Paul Scholz
Sent: Thursday, 10 May 2018 17:05
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

 

Hi Wim,

I tried to push a patch today, but for some reason, my Gerrit password (which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (https://git.eclipse.org/r/login) neither.

Best,

  MP

 

2018-04-16 10:37 GMT+02:00 Wim Jongman <wim.jongman@xxxxxxxxx>:

Hi Matthias,

Please file an issue and a patch, I will merge it.

Cheers,

Wim

 

On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <matthias.paul.scholz@xxxxxxxxx> wrote:

Hi,

I'm presently trying to integrate the CDateTime widget into our RCP application. Since it heavily relies on databinding, I was happy to find a CDateTimeObservableValue in Nebula that allows for binding external models to the CDateTime widget. :)

However, when writing a SWTBot test for the widget, I have noticed that it falis due to the fact that the CDateTimeObservableValue internally uses Realm.getDefault() which gives rise to an exception in the the base  AbstractObservableValue in case of unit tests.

What is missing here is an additional constructor for CDateTimeObservableValue that also takes a Realm instance and delegates to the according constructor in AbstractObservableValue.

/MP

 

_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev

 


_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev

 


Back to the top