+ /**
+ * Shows the given message in the status bar.
+ * @param text the message to show
+ */
+ public static boolean shouldBeDrawn(Track track) {
+ if (drawEmptyTracks) return true;
+ else return (!emptyTracks.contains(track));
+ }
+
+
+ /**
+ * Shows the given message in the status bar.
+ * @param text the message to show
+ */
+ public static void setDrawEmptyTracks(boolean state) {
+ drawEmptyTracks = state;
+ }
+