()
| 656 | private static Color lastColor = Color.GRAY; |
| 657 | |
| 658 | private void colourSelected() { |
| 659 | treeViewer.setToolMode(TreePaneSelector.ToolMode.SELECT); |
| 660 | |
| 661 | Color color = JColorChooser.showDialog(this, "Select Colour", lastColor); |
| 662 | if (color != null) { |
| 663 | treeViewer.annotateSelected("!color", color); |
| 664 | setDirty(); |
| 665 | lastColor = color; |
| 666 | } |
| 667 | } |
| 668 | |
| 669 | public boolean readFromFile(File file) throws IOException { |
| 670 | Reader reader = null; |
no test coverage detected