Skip to main content



      Home
Home » Eclipse Projects » JFace » Binding to a TitleAreaDialog (3.4.2)
Binding to a TitleAreaDialog (3.4.2) [message #5187] Thu, 14 May 2009 17:35 Go to next message
Eclipse UserFriend
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 #5255 is a reply to message #5187] Thu, 14 May 2009 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aczerwonka.3esi.com

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
>
Re: Binding to a TitleAreaDialog (3.4.2) [message #6019 is a reply to message #5255] Fri, 15 May 2009 04:37 Go to previous message
Eclipse UserFriend
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
>>
>
>
Previous Topic:problem creating tableviewer on the wizardpage
Next Topic:Image control in TreeViewer
Goto Forum:
  


Current Time: Sat May 10 06:51:50 EDT 2025

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

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

Back to the top