[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [ufk-dev] Default realm
|
- From: Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>
- Date: Thu, 20 Jan 2011 09:57:36 +0100
- Delivered-to: ufk-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bestsolution.at; h=content-transfer-encoding:content-type:content-type :in-reply-to:references:subject:subject:mime-version:user-agent :from:from:date:date:message-id:received:received; s=default; t= 1295513855; x=1297328255; bh=AKyjrKWZUuDf/+Rr+02iFyUKrjfxK7BgLQZ xXfM3SU4=; b=Itkp+jSaRF8Ri7OKyrO0M1uEIcDZ4yzeQKU2N+qH/GI5IFQUYTV cOov6SAeM4tedJjqdy4UQr+8RbUpmld09tXYLheNXdwsO2XYpgqh6GoFG/9dGN0e gbf1PnZ9sEKdX+8SEK1Eu+hM+HUum7Vx8sv8H9zIozLLqlYZ9TLOzauE=
- User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
Hi,
Hm. Looking at the code of the SWT implementation I have to correct
myself. The Realm the UI-Widgets update themselves is by default the
SwingRealm but I think the problem is that we are using
Thread.currentThread() which is wrong.
We'd have to use the dispatcher thread of swing. Do you know by chance
how to get to this thread?
Tom
Am 20.01.11 01:38, schrieb Tom Schindl:
> Hi,
>
> You are right this looks wrong and should be fixed.
>
> Tom
>
> Am 20.01.11 00:27, schrieb Max Gordienko:
>> Hi all,
>>
>> Is there a particular reason why in the Swing databinding classes like
>> TextObservableValue or AbstractSwingObservableValue SwingRealm is
>> used.
>> I'm talking about the constructors without a Realm parameter.
>> Shouldn't Realm.getDefault() be used instead?
>>
>> Using a concrete Realm implementation greatly complicates testing when
>> a test(mock) realm implementation is used.
>>
>> Thank you!
>> _______________________________________________
>> ufk-dev mailing list
>> ufk-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ufk-dev
>
>
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1 A-6020 innsbruck phone ++43 512 935834