Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Overriding Validator settings via the API
Overriding Validator settings via the API [message #484681] Tue, 08 September 2009 17:48
Spencer Uresk is currently offline Spencer UreskFriend
Messages: 12
Registered: July 2009
Junior Member
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?
Previous Topic:JST Library Provider Framework
Next Topic:Galileo Workspace Corruption
Goto Forum:

Current Time: Sat Nov 18 21:51:30 GMT 2017

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

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