Programatically turning off some validation? [message #193337] |
Sun, 27 May 2007 21:31  |
Eclipse User |
|
|
|
Originally posted by: nadeem.aboobaker.bea.com
Hello all,
I am trying to figure out if there's a programatic way to turn off certain
validators. The manual way to do what I want is to right click Project ->
Properites->Validation, click "Override validation preferences" and uncheck
the Manual and Build checkboxes for the Validator I want to disable (for
example, WSDL or XML Schema).
I am using Eclipse 3.2.2 and WTP 1.5.3. I've done some searches in this
newsgroup, as well as some Google searches. I've been able to find out to
create custom validators, but nothing on how to modify existing validators.
Any help?
Thanks,
Nadeem
|
|
|
Re: Programatically turning off some validation? [message #193748 is a reply to message #193337] |
Fri, 01 June 2007 05:42  |
Eclipse User |
|
|
|
Originally posted by: nadeem.aboobaker.bea.com
Just to answer my own question:
I was able to get the object used for the validation property page settings
by doing this:
ProjectConfiguration projectConfig =
ConfigurationManager.getManager().getProjectConfiguration(pr oject);
Then I changed the desired settings on the ProjectConfiguration object and
then called the store() method.
- Nadeem
"Nadeem Aboobaker" <nadeem.aboobaker@bea.com> wrote in message
news:f3ctbf$jvo$1@build.eclipse.org...
> Hello all,
>
> I am trying to figure out if there's a programatic way to turn off
> certain validators. The manual way to do what I want is to right click
> Project -> Properites->Validation, click "Override validation preferences"
> and uncheck the Manual and Build checkboxes for the Validator I want to
> disable (for example, WSDL or XML Schema).
>
> I am using Eclipse 3.2.2 and WTP 1.5.3. I've done some searches in this
> newsgroup, as well as some Google searches. I've been able to find out to
> create custom validators, but nothing on how to modify existing
> validators. Any help?
>
> Thanks,
> Nadeem
>
|
|
|
Powered by
FUDForum. Page generated in 0.03514 seconds