boolean () { var newState = !myDetectProjectDirectories; myDetectProjectDirectories = newState; PropertiesComponent.getInstance().setValue(PROJECT_DIR_DETECTION_PROPERTY, newState); reload(null); return newState; }