* add Groovy File Filter example as tooltip (improved)

This commit is contained in:
Reinhard Pointner 2015-10-02 19:21:20 +00:00
parent e655817584
commit 2a417f85d1
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class PresetEditor extends JDialog {
inputPanel.add(pathInput, "growx, gap rel"); inputPanel.add(pathInput, "growx, gap rel");
inputPanel.add(createImageButton(selectInputFolder), "gap 0px, wrap"); inputPanel.add(createImageButton(selectInputFolder), "gap 0px, wrap");
JLabel includesLabel = new JLabel("Includes:"); JLabel includesLabel = new JLabel("Includes:");
includesLabel.setToolTipText("Groovy File Filter (e.g. fn =~ /alias/)"); includesLabel.setToolTipText("<html>Groovy File Filter<br>• fn =~ /alias/<br>• ext =~ /mp4/<br>• minutes &gt; 100<br>• file.isEpisode()<br>• …<br></html>");
inputPanel.add(includesLabel, "gap indent, skip 1, split 3"); inputPanel.add(includesLabel, "gap indent, skip 1, split 3");
inputPanel.add(wrapEditor(filterEditor), "growx, gap rel"); inputPanel.add(wrapEditor(filterEditor), "growx, gap rel");
inputPanel.add(createImageButton(listFiles), "gap rel"); inputPanel.add(createImageButton(listFiles), "gap rel");