コード例 #1
0
 static String renderToList(Scene scene) {
   boolean hasNoTos = true;
   for (IPath p : scene.getPaths()) {
     if (p.getTo() != null) {
       hasNoTos = false;
       break;
     }
   }
   String sufix = scene.getPaths().isEmpty() ? "] " : hasNoTos ? "#" : " ";
   return (scene.getScenesFrom().isEmpty() ? " [" : " ") + scene.getName() + sufix;
 }