Binding to a TitleAreaDialog (3.4.2) [message #5187] |
Thu, 14 May 2009 17:35  |
Eclipse User |
|
|
|
Originally posted by: aczerwonka.3esi.com
I see there's a WizardPageSupport class that helps in the binding of
validation to the Wizard's error message location. Given that a WizardPage
is a DialogPage, why is there no DialogPageSupport? There's no way that I
can see doing declarative validation using the binding framework with simple
TitleAreaDialog. Am I missing something?
--
andy
|
|
|
|
Re: Binding to a TitleAreaDialog (3.4.2) [message #6019 is a reply to message #5255] |
Fri, 15 May 2009 04:37  |
Eclipse User |
|
|
|
Hello, Andy.
There is a TitleAreaDialogSupport at least in 3.5M6, but it doesn't work
correctly (in my opinion pretty useless right now).
There is also a solution, but that needed to change the TitleAreaDialog
API (which is not possible anymore in the current release phase).
See Bugs:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272794
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272997
A official solution will hopefully available with the first 3.6 milestone.
So, I solved this problem for me, by checking out the latest
org.eclipse.jface.databinding.dialog
org.eclipse.jface.dialogs
and applied the patch from the first above mentioned bug.
Hope that helps,
Kai
Andy Czerwonka wrote:
> It'd be a lot simpler if they'd just expose the Error label - not sure why
> its private in the first place. Kinda silly if you ask me.
>
> "Andy Czerwonka" <aczerwonka@3esi.com> wrote in message
> news:gui2rn$sdi$1@build.eclipse.org...
>> I see there's a WizardPageSupport class that helps in the binding of
>> validation to the Wizard's error message location. Given that a WizardPage
>> is a DialogPage, why is there no DialogPageSupport? There's no way that I
>> can see doing declarative validation using the binding framework with
>> simple TitleAreaDialog. Am I missing something?
>>
>> --
>> andy
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03048 seconds