mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
highlighting illegal dependency rules
This commit is contained in:
@@ -323,10 +323,7 @@ public class DependenciesPanel extends JPanel {
|
||||
setIcon(node.getClosedIcon());
|
||||
}
|
||||
|
||||
if (node.hasMarked() && !selected) {
|
||||
setForeground(Color.red);
|
||||
}
|
||||
append(node.toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
|
||||
append(node.toString(), node.hasMarked() && !selected ? SimpleTextAttributes.ERROR_ATTRIBUTES : SimpleTextAttributes.REGULAR_ATTRIBUTES);
|
||||
append(node.getPresentableFilesCount(), SimpleTextAttributes.GRAYED_ATTRIBUTES);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user