1. Atlassian
  2. Project: Atlassian
  3. connector-idea

Commits

kal...@chimay.atlassian.pl  committed aeacae2

PL-2651 - Commit Changes Dialog After Commit block full of Log Time Spent rows

  • Participants
  • Parent commits 9b3a4ec
  • Branches default

Comments (0)

Files changed (2)

File atlassian-intellij-connector/src/main/java/com/atlassian/theplugin/idea/ui/tree/file/FolderNode.java

View file
 import com.atlassian.theplugin.idea.ui.tree.Filter;
 import com.intellij.ui.ColoredTreeCellRenderer;
 import com.intellij.ui.SimpleTextAttributes;
-import com.intellij.util.Icons;
+import com.intellij.util.PlatformIcons;
 
 import javax.swing.*;
 import javax.swing.tree.TreeCellRenderer;
 
+//import com.intellij.util.Icons;
+
 /**
  * Created by IntelliJ IDEA.
  * User: pmaruszak
 			FileNode node = (FileNode) value;
 			append(node.getName(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
 
-			setIcon(expanded ? Icons.DIRECTORY_OPEN_ICON : Icons.DIRECTORY_CLOSED_ICON);
+			setIcon(expanded ? PlatformIcons.DIRECTORY_OPEN_ICON : PlatformIcons.DIRECTORY_CLOSED_ICON);
 		}
 	}
 }

File atlassian-intellij-connector/src/main/java/com/atlassian/theplugin/idea/ui/tree/paneltree/AbstractTreeNode.java

View file
 
 import com.intellij.ui.SimpleColoredComponent;
 import com.intellij.ui.SimpleTextAttributes;
-import com.intellij.util.Icons;
+//import com.intellij.util.Icons;
+import com.intellij.util.PlatformIcons;
 import com.intellij.util.ui.UIUtil;
 import com.jgoodies.forms.layout.CellConstraints;
 import com.jgoodies.forms.layout.FormLayout;
 			this.iconOpen = icon;
 			this.iconClosed = icon;
 		} else {
-			this.iconOpen = Icons.DIRECTORY_OPEN_ICON;
-			this.iconClosed = Icons.DIRECTORY_CLOSED_ICON;
+			this.iconOpen = PlatformIcons.DIRECTORY_OPEN_ICON;
+			this.iconClosed = PlatformIcons.DIRECTORY_CLOSED_ICON;
 		}
 		if (disabledIcon != null) {
 			this.disabledIconOpen = disabledIcon;