/** * This constructor should be used in all cases except for the Preference page's values. */ public GlobalConfiguration(IWorkspaceRoot root) throws InvocationTargetException { super(root, convertToArray(ValidationRegistryReader.getReader().getAllValidators())); // Can't put the call to load() and passivate() in the ValidationConfiguration constructor // due // to the order of initialization. // 1. First the ValidationConfiguration constructor is called, and that loads the stored // values. // 2. Then this class's <init> method is called, and that initializes the "override" field // to the default, // which may be different than the stored value. }