Added: #2374 Quick filter by folder type (Ctrl+F on Resources view tag tree)

This commit is contained in:
Jindra Petřík
2024-12-01 13:36:16 +01:00
parent 867980eddd
commit 4621b181e4
9 changed files with 402 additions and 42 deletions

View File

@@ -33,7 +33,7 @@ import javax.swing.event.DocumentListener;
/**
* @author JPEXS
*/
public class QuickTreeFindPanel extends JPanel {
public class QuickTreeFindPanel extends JPanel implements QuickTreeFilterInterface {
private List<ActionListener> listeners = new ArrayList<>();
@@ -62,7 +62,7 @@ public class QuickTreeFindPanel extends JPanel {
}
});
setLayout(new BorderLayout());
setLayout(new BorderLayout(4, 0));
add(filterField, BorderLayout.CENTER);
add(new JLabel(View.getIcon("search16")), BorderLayout.WEST);
JLabel closeSearchButton = new JLabel(View.getIcon("cancel16"));
@@ -107,4 +107,8 @@ public class QuickTreeFindPanel extends JPanel {
}
}
@Override
public List<String> getFolders() {
return new ArrayList<>();
}
}