[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] Overriding Validator settings via the API
|
- From: suresk@xxxxxxxxx (Spencer Uresk)
- Date: Tue, 8 Sep 2009 17:48:19 +0000 (UTC)
- Newsgroups: eclipse.webtools
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
In a plugin I'm working on, I'm trying to disable validators for
build-based validation for a given project. In IMutableValidator, there is
the following method:
void setBuildValidation(boolean build);
Which does exactly what I want. However, there is one problem - in
MutableProjectSettings the getValidators() method only returns validators
that have already been customized for that project. In the case of a new
project, it simply returns an empty array. I don't see any way to set or
add validators for a project via the API, and thus no way for me to
customize them for that project unless the user does so first (which
defeats the purpose).
Am I missing a step somewhere or something?