Skip to content

Commit

Permalink
Deprecate FileTree as it will be moved to the swing-dsl project.
Browse files Browse the repository at this point in the history
  • Loading branch information
weisJ committed Jun 21, 2021
1 parent 140b3c3 commit 9b14afb
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
import javax.swing.*;
import javax.swing.filechooser.FileSystemView;

/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class FileNode implements Comparable<FileNode> {

private static final AtomicBoolean LOCKED = new AtomicBoolean(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
import javax.swing.tree.TreePath;


/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class FileTree extends JTree {

public FileTree() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
import javax.swing.filechooser.FileSystemView;
import javax.swing.tree.DefaultTreeCellRenderer;

/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class FileTreeCellRenderer extends DefaultTreeCellRenderer {

private final FileSystemView fsv;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
import javax.swing.filechooser.FileSystemView;
import javax.swing.tree.DefaultTreeModel;

/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class FileTreeModel extends DefaultTreeModel {

protected final FileSystemView fsv;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
import com.github.weisj.darklaf.util.Lambdas;
import com.github.weisj.darklaf.util.StreamUtil;

/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class FileTreeNode implements TreeNode, Comparable<FileTreeNode> {

protected final FileTreeNode parent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
import javax.swing.*;
import javax.swing.filechooser.FileSystemView;

/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class WatchFileTree extends FileTree {

public WatchFileTree() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@

import com.github.weisj.darklaf.util.LogUtil;

/**
* @deprecated {@link FileTree} will be moved to https://github.com/weisJ/swing-dsl
*/
@Deprecated
public class WatchFileTreeModel extends FileTreeModel {

private static final Logger LOGGER = LogUtil.getLogger(WatchFileTreeModel.class);
Expand Down

0 comments on commit 9b14afb

Please sign in to comment.