6061626364656667686970
} @Override public void buildStarting(final BuildContext[] files, final boolean isBatch) { CheckScope scope = getCheckScope(); IResource res = Activator.getActiveResource(); String activeProj = null; if( res != null ) {
103104105106107108109110111112113
} public static CheckScope getCheckScope() { String propVal = Activator.getPrefStore().getString(Prefs.PROP_CHECK_SCOPE); CheckScope scope = CheckScope.Disabled; try { scope = CheckScope.valueOf(propVal); }
119120121122123124125126127128129
} @Override public boolean isActive(final IJavaProject project) { CheckScope checkScope = getCheckScope(); if( checkScope == CheckScope.Disabled || !project.isOpen() ) { return false; }