system/src/sc/layer/Layer.java
public boolean appendDetailString(StringBuilder sb, boolean first, boolean details, boolean runtime, boolean sync) {
      if (details) {
         //boolean useHidden = !getVisibleInEditor(); // This is called from LayersView without the dynLock - not safe to call extendsLayer. It would be find to do this from the
         // command line though
         boolean useHidden = hidden;
         if (useHidden)
            first = opAppend(sb, "hidden", first);
         if (buildSeparate)
            first = opAppend(sb, "build separate", first);
         if (isBuildLayer())
            first = opAppend(sb, "build", first);
         if (annotationLayer)
            first = opAppend(sb, "annotation", first);
         if (finalLayer)
            first = opAppend(sb, "finalLayer", first);
         if (codeType != CodeType.Application)
            first = opAppend(sb, "codeType=" + codeType, first);
      }
      if (runtime) {
         if (excludeRuntimes != null)
            first = opAppend(sb, " excludes: " + excludeRuntimes, first);
         if (includeRuntimes != null)
            first = opAppend(sb, " includes: " + includeRuntimes, first);
         if (hasDefinedRuntime)
            first = opAppend(sb, " only: " + (definedRuntime == null ? "java" : definedRuntime), first);
         if (excludeProcesses != null)
            first = opAppend(sb, " excludes: " + excludeProcesses, first);
         if (includeProcesses != null)
            first = opAppend(sb, " includes: " + includeProcesses, first);
         if (hasDefinedProcess)
            first = opAppend(sb, " only: " + (definedProcess == null ? "<default>" : definedProcess), first);
         if (includeForInit)
            first = opAppend(sb, " includeForInit", first);
      }
      if (sync) {
         if (syncMode != SyncMode.Disabled && syncMode != null)
            first = opAppend(sb, " syncMode=" + syncMode.toString(), first);
      }
      return first;
   }
/** Used by both the command line and layers view to append a description for the layer based on what you are interested in */
Used by both the command line and layers view to append a description for the layer based on what you are interested in
Used by both the command line and layers view to append a description for the layer based on what you are interested in
public boolean appendDetailString(StringBuilder sb, boolean first, boolean details, boolean runtime, boolean sync) {
      if (details) {
         boolean useHidden = hidden;
         if (useHidden)
            first = opAppend(sb, "hidden", first);
         if (buildSeparate)
            first = opAppend(sb, "build separate", first);
         if (isBuildLayer())
            first = opAppend(sb, "build", first);
         if (annotationLayer)
            first = opAppend(sb, "annotation", first);
         if (finalLayer)
            first = opAppend(sb, "finalLayer", first);
         if (codeType != CodeType.Application)
            first = opAppend(sb, "codeType=" + codeType, first);
      }
      if (runtime) {
         if (excludeRuntimes != null)
            first = opAppend(sb, " excludes: " + excludeRuntimes, first);
         if (includeRuntimes != null)
            first = opAppend(sb, " includes: " + includeRuntimes, first);
         if (hasDefinedRuntime)
            first = opAppend(sb, " only: " + (definedRuntime == null ? "java" : definedRuntime), first);
         if (excludeProcesses != null)
            first = opAppend(sb, " excludes: " + excludeProcesses, first);
         if (includeProcesses != null)
            first = opAppend(sb, " includes: " + includeProcesses, first);
         if (hasDefinedProcess)
            first = opAppend(sb, " only: " + (definedProcess == null ? "<default>" : definedProcess), first);
         if (includeForInit)
            first = opAppend(sb, " includeForInit", first);
      }
      if (sync) {
         if (syncMode != SyncMode.Disabled && syncMode != null)
            first = opAppend(sb, " syncMode=" + syncMode.toString(), first);
      }
      return first;
   }
public boolean appendDetailString ( StringBuilder sb , boolean first , boolean details , boolean runtime , boolean sync ) { if ( details ) { boolean useHidden = hidden ; if ( useHidden ) first = opAppend ( sb , "hidden" , first ) ; if ( buildSeparate ) first = opAppend ( sb , "build separate" , first ) ; if ( isBuildLayer ( ) ) first = opAppend ( sb , "build" , first ) ; if ( annotationLayer ) first = opAppend ( sb , "annotation" , first ) ; if ( finalLayer ) first = opAppend ( sb , "finalLayer" , first ) ; if ( codeType != CodeType . Application ) first = opAppend ( sb , "codeType=" + codeType , first ) ; } if ( runtime ) { if ( excludeRuntimes != null ) first = opAppend ( sb , " excludes: " + excludeRuntimes , first ) ; if ( includeRuntimes != null ) first = opAppend ( sb , " includes: " + includeRuntimes , first ) ; if ( hasDefinedRuntime ) first = opAppend ( sb , " only: " + ( definedRuntime == null ? "java" : definedRuntime ) , first ) ; if ( excludeProcesses != null ) first = opAppend ( sb , " excludes: " + excludeProcesses , first ) ; if ( includeProcesses != null ) first = opAppend ( sb , " includes: " + includeProcesses , first ) ; if ( hasDefinedProcess ) first = opAppend ( sb , " only: " + ( definedProcess == null ? "<default>" : definedProcess ) , first ) ; if ( includeForInit ) first = opAppend ( sb , " includeForInit" , first ) ; } if ( sync ) { if ( syncMode != SyncMode . Disabled && syncMode != null ) first = opAppend ( sb , " syncMode=" + syncMode . toString ( ) , first ) ; } return first ; }
Used by both the command line and layers view to append a description for the layer based on what you are interested in
Used by both the command line and layers view to append a description for the layer based on what you are interested in
//boolean useHidden = !getVisibleInEditor(); // This is called from LayersView without the dynLock - not safe to call extendsLayer. It would be find to do this from the // command line though