Commit c45a9c00 authored by petter's avatar petter
Browse files

only regenerate new items per default

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@140 0463f305-d864-43cb-8a47-61cf597d4139
parent dfed5876
...@@ -355,6 +355,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -355,6 +355,7 @@ public class PostProcessorPanel extends GradientPanel {
if (recording.thumbnailsAvailable()) { if (recording.thumbnailsAvailable()) {
thumbnailsStatusField.setForeground(Color.GREEN); thumbnailsStatusField.setForeground(Color.GREEN);
thumbnailsStatusField.setText("found"); thumbnailsStatusField.setText("found");
thumbnailsCheckBox.setSelected(false);
} else { } else {
thumbnailsStatusField.setForeground(Color.RED); thumbnailsStatusField.setForeground(Color.RED);
thumbnailsStatusField.setText("not found"); thumbnailsStatusField.setText("not found");
...@@ -363,6 +364,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -363,6 +364,7 @@ public class PostProcessorPanel extends GradientPanel {
htmlStatusField.setForeground(Color.GREEN); htmlStatusField.setForeground(Color.GREEN);
htmlStatusField.setText("folder found"); htmlStatusField.setText("folder found");
htmlStatusField.setToolTipText("folder exists - content not confirmed"); htmlStatusField.setToolTipText("folder exists - content not confirmed");
htmlCheckBox.setSelected(false);
} else { } else {
htmlStatusField.setForeground(Color.RED); htmlStatusField.setForeground(Color.RED);
htmlStatusField.setText("not found"); htmlStatusField.setText("not found");
...@@ -371,6 +373,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -371,6 +373,7 @@ public class PostProcessorPanel extends GradientPanel {
if (recording.getExistingFileBySuffix("pdf").exists()) { if (recording.getExistingFileBySuffix("pdf").exists()) {
pdfStatusField.setForeground(Color.GREEN); pdfStatusField.setForeground(Color.GREEN);
pdfStatusField.setText("found"); pdfStatusField.setText("found");
pdfCheckBox.setSelected(false);
} else { } else {
pdfStatusField.setForeground(Color.RED); pdfStatusField.setForeground(Color.RED);
pdfStatusField.setText("not found"); pdfStatusField.setText("not found");
...@@ -379,6 +382,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -379,6 +382,7 @@ public class PostProcessorPanel extends GradientPanel {
ocrStatusField.setForeground(Color.GREEN); ocrStatusField.setForeground(Color.GREEN);
ocrStatusField.setText("folder found"); ocrStatusField.setText("folder found");
ocrStatusField.setToolTipText("folder exists - content not confirmed"); ocrStatusField.setToolTipText("folder exists - content not confirmed");
ocrCheckBox.setSelected(false);
} else { } else {
ocrStatusField.setForeground(Color.RED); ocrStatusField.setForeground(Color.RED);
ocrStatusField.setText("not found"); ocrStatusField.setText("not found");
...@@ -390,6 +394,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -390,6 +394,7 @@ public class PostProcessorPanel extends GradientPanel {
camStatusField.setForeground(Color.GREEN); camStatusField.setForeground(Color.GREEN);
camStatusField.setText("folder found"); camStatusField.setText("folder found");
camStatusField.setToolTipText("folder exists - content not confirmed"); camStatusField.setToolTipText("folder exists - content not confirmed");
camCheckBox.setSelected(false);
} else { } else {
camStatusField.setForeground(Color.RED); camStatusField.setForeground(Color.RED);
camStatusField.setText("not found"); camStatusField.setText("not found");
...@@ -400,6 +405,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -400,6 +405,7 @@ public class PostProcessorPanel extends GradientPanel {
if (recording.getExistingFileBySuffix("mp3").exists()) { if (recording.getExistingFileBySuffix("mp3").exists()) {
mp3StatusField.setForeground(Color.GREEN); mp3StatusField.setForeground(Color.GREEN);
mp3StatusField.setText("found"); mp3StatusField.setText("found");
mp3CheckBox.setSelected(false);
} else { } else {
mp3StatusField.setForeground(Color.RED); mp3StatusField.setForeground(Color.RED);
mp3StatusField.setText("not found"); mp3StatusField.setText("not found");
...@@ -407,6 +413,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -407,6 +413,7 @@ public class PostProcessorPanel extends GradientPanel {
if (recording.getExistingFileBySuffix("ogg").exists()) { if (recording.getExistingFileBySuffix("ogg").exists()) {
oggVorbisStatusField.setForeground(Color.GREEN); oggVorbisStatusField.setForeground(Color.GREEN);
oggVorbisStatusField.setText("found"); oggVorbisStatusField.setText("found");
oggVorbisCheckBox.setSelected(false);
} else { } else {
oggVorbisStatusField.setForeground(Color.RED); oggVorbisStatusField.setForeground(Color.RED);
oggVorbisStatusField.setText("not found"); oggVorbisStatusField.setText("not found");
...@@ -418,6 +425,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -418,6 +425,7 @@ public class PostProcessorPanel extends GradientPanel {
} else if (file.isFile()) { } else if (file.isFile()) {
flashStatusField.setForeground(Color.GREEN); flashStatusField.setForeground(Color.GREEN);
flashStatusField.setText("found"); flashStatusField.setText("found");
flashCheckBox.setSelected(false);
} else { } else {
flashStatusField.setForeground(Color.RED); flashStatusField.setForeground(Color.RED);
flashStatusField.setText("not found"); flashStatusField.setText("not found");
...@@ -425,6 +433,7 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -425,6 +433,7 @@ public class PostProcessorPanel extends GradientPanel {
if (recording.getExistingFileBySuffix("mp4").exists()) { if (recording.getExistingFileBySuffix("mp4").exists()) {
mp4StatusField.setForeground(Color.GREEN); mp4StatusField.setForeground(Color.GREEN);
mp4StatusField.setText("found"); mp4StatusField.setText("found");
mp4CheckBox.setSelected(false);
} else { } else {
mp4StatusField.setForeground(Color.RED); mp4StatusField.setForeground(Color.RED);
mp4StatusField.setText("not found"); mp4StatusField.setText("not found");
...@@ -434,9 +443,11 @@ public class PostProcessorPanel extends GradientPanel { ...@@ -434,9 +443,11 @@ public class PostProcessorPanel extends GradientPanel {
html5StatusField.setForeground(Color.GREEN); html5StatusField.setForeground(Color.GREEN);
html5StatusField.setText("folder found"); html5StatusField.setText("folder found");
html5StatusField.setToolTipText("folder exists - content not confirmed"); html5StatusField.setToolTipText("folder exists - content not confirmed");
html5CheckBox.setSelected(false);
html5PlayerStatusField.setForeground(Color.GREEN); html5PlayerStatusField.setForeground(Color.GREEN);
html5PlayerStatusField.setText("folder found"); html5PlayerStatusField.setText("folder found");
html5PlayerStatusField.setToolTipText("folder exists - content not confirmed"); html5PlayerStatusField.setToolTipText("folder exists - content not confirmed");
html5PlayerCheckBox.setSelected(false);
} else { } else {
html5StatusField.setForeground(Color.RED); html5StatusField.setForeground(Color.RED);
html5StatusField.setText("not found"); html5StatusField.setText("not found");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment