system/src/sc/layer/Layer.java
public boolean checkIfStarted() {
      if (!isStarted() && !activated) {
         if (baseLayers != null && !excluded && !disabled) {
            for (Layer base:baseLayers)
               base.checkIfStarted();
         }
         if (initialized && !disabled) {
            // If we are in the midst of initializing layers we should not start this layer, unless it's a separate
            // layer in which case we might need to look up src files in it.
            if (layeredSystem.initializingLayers && !buildSeparate)
               return false;
            // Should do init, start, and validate
            ParseUtil.initAndStartComponent(this);
         }
         else {
            return false;
         }
      }
      return true;
   }
// builds so this method skips activated layers entirely unlike ensureStarted.
builds so this method skips activated layers entirely unlike ensureStarted.
builds so this method skips activated layers entirely unlike ensureStarted .
public boolean checkIfStarted() {
      if (!isStarted() && !activated) {
         if (baseLayers != null && !excluded && !disabled) {
            for (Layer base:baseLayers)
               base.checkIfStarted();
         }
         if (initialized && !disabled) {
            if (layeredSystem.initializingLayers && !buildSeparate)
               return false;
            ParseUtil.initAndStartComponent(this);
         }
         else {
            return false;
         }
      }
      return true;
   }
public boolean checkIfStarted ( ) { if ( ! isStarted ( ) && ! activated ) { if ( baseLayers != null && ! excluded && ! disabled ) { for ( Layer base : baseLayers ) base . checkIfStarted ( ) ; } if ( initialized && ! disabled ) { if ( layeredSystem . initializingLayers && ! buildSeparate ) return false ; ParseUtil . initAndStartComponent ( this ) ; } else { return false ; } } return true ; }
builds so this method skips activated layers entirely unlike ensureStarted.
builds so this method skips activated layers entirely unlike ensureStarted .
// If we are in the midst of initializing layers we should not start this layer, unless it's a separate // layer in which case we might need to look up src files in it. // Should do init, start, and validate