no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package ProjectData.Files.UI;
|
||||
import Common_old.Current;
|
||||
import Common.Visual.CommonUI;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Syntax.VisualiserFonts;
|
||||
import Common.Visual.Fonts.VisualiserFonts;
|
||||
import Common_old.UI.Trees.StyledTreeCellRenderer;
|
||||
import ProjectData.Files.DBProjectFile;
|
||||
import ProjectData.Files.FileState;
|
||||
@@ -23,7 +23,7 @@ public class FilesTreeCellRenderer extends StyledTreeCellRenderer {
|
||||
File dir = (File) o;
|
||||
setIcon(new ImageIcon(getClass().getResource("/icons/Folder.png")));
|
||||
setText(dir.getName());
|
||||
setFont(Current.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
setFont(CommonUI.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
} else if (o instanceof DBProjectFile) {
|
||||
DBProjectFile file = (DBProjectFile) o;
|
||||
if (Global.files_multiselection) {
|
||||
@@ -32,8 +32,8 @@ public class FilesTreeCellRenderer extends StyledTreeCellRenderer {
|
||||
setIcon(file.GetIcon());
|
||||
}
|
||||
setText(file.file.getName());
|
||||
if (file.IsMain()) setFont(Current.getTheme().Fonts.get(VisualiserFonts.TreeBold));
|
||||
else setFont(Current.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
if (file.IsMain()) setFont(CommonUI.getTheme().Fonts.get(VisualiserFonts.TreeBold));
|
||||
else setFont(CommonUI.getTheme().Fonts.get(VisualiserFonts.TreePlain));
|
||||
if (file.state.equals(FileState.Excluded)) {
|
||||
Map attributes = getFont().getAttributes();
|
||||
attributes.put(TextAttribute.STRIKETHROUGH, TextAttribute.STRIKETHROUGH_ON);
|
||||
|
||||
Reference in New Issue
Block a user