[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: Preference Page ok button handle?
|
I think you should use isValid and okToLeave methods to control state of
the buttons and to block flipping to another page if the data on the current
one are invalide.
"Balaji" <balajik@xxxxxxxxxx> wrote in message
news:b2e2pb$amq$1@xxxxxxxxxxxxxxxx
> I created by preference page by extending
> org.eclipse.ui.dialogs.PreferencePage. I want to disable the ok button
when
> none of the user specified preferences is selected in my preference page.
> Can I get the handle of the ok button in PreferencePage dialog.
>
> Thanks
> Balaji
>
>