|
13 | 13 | */ |
14 | 14 | package org.httprpc.sierra.tools.previewer; |
15 | 15 |
|
16 | | -import org.fife.rsta.ui.search.FindDialog; |
17 | | -import org.fife.rsta.ui.search.ReplaceDialog; |
18 | | -import org.fife.rsta.ui.search.SearchEvent; |
19 | | -import org.fife.rsta.ui.search.SearchListener; |
20 | | -import org.fife.ui.autocomplete.AutoCompletion; |
21 | | -import org.fife.ui.autocomplete.CompletionProvider; |
22 | | -import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea; |
23 | | -import org.fife.ui.rsyntaxtextarea.SyntaxConstants; |
24 | | -import org.fife.ui.rtextarea.SearchEngine; |
25 | | -import org.fife.ui.rtextarea.SearchResult; |
26 | | -import org.httprpc.sierra.Outlet; |
27 | | -import org.httprpc.sierra.UILoader; |
28 | | -import org.httprpc.sierra.tools.previewer.engine.RenderingEngine; |
29 | | -import org.httprpc.sierra.tools.previewer.model.RenderError; |
30 | | -import org.httprpc.sierra.tools.previewer.model.RenderResult; |
31 | | - |
| 16 | +import java.awt.BorderLayout; |
| 17 | +import java.awt.Toolkit; |
| 18 | +import java.awt.event.KeyEvent; |
| 19 | +import java.io.File; |
| 20 | +import java.io.IOException; |
| 21 | +import java.nio.file.Files; |
| 22 | +import java.nio.file.Path; |
| 23 | +import java.nio.file.StandardOpenOption; |
| 24 | +import java.util.concurrent.ExecutionException; |
| 25 | +import java.util.function.Consumer; |
32 | 26 | import javax.swing.ImageIcon; |
33 | 27 | import javax.swing.JFileChooser; |
34 | 28 | import javax.swing.JFrame; |
|
38 | 32 | import javax.swing.JMenuItem; |
39 | 33 | import javax.swing.JOptionPane; |
40 | 34 | import javax.swing.JPanel; |
41 | | -import javax.swing.JScrollPane; |
42 | 35 | import javax.swing.JSplitPane; |
43 | 36 | import javax.swing.KeyStroke; |
44 | 37 | import javax.swing.SwingWorker; |
|
47 | 40 | import javax.swing.event.DocumentEvent; |
48 | 41 | import javax.swing.event.DocumentListener; |
49 | 42 | import javax.swing.filechooser.FileNameExtensionFilter; |
50 | | -import java.awt.BorderLayout; |
51 | | -import java.awt.Toolkit; |
52 | | -import java.awt.event.KeyEvent; |
53 | | -import java.io.File; |
54 | | -import java.io.IOException; |
55 | | -import java.nio.file.Files; |
56 | | -import java.nio.file.Path; |
57 | | -import java.nio.file.StandardOpenOption; |
58 | | -import java.util.concurrent.ExecutionException; |
59 | | -import java.util.function.Consumer; |
| 43 | +import org.fife.rsta.ui.search.FindDialog; |
| 44 | +import org.fife.rsta.ui.search.ReplaceDialog; |
| 45 | +import org.fife.rsta.ui.search.SearchEvent; |
| 46 | +import org.fife.rsta.ui.search.SearchListener; |
| 47 | +import org.fife.ui.autocomplete.AutoCompletion; |
| 48 | +import org.fife.ui.autocomplete.CompletionProvider; |
| 49 | +import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea; |
| 50 | +import org.fife.ui.rsyntaxtextarea.SyntaxConstants; |
60 | 51 | import org.fife.ui.rtextarea.RTextScrollPane; |
| 52 | +import org.fife.ui.rtextarea.SearchEngine; |
| 53 | +import org.fife.ui.rtextarea.SearchResult; |
| 54 | +import org.httprpc.sierra.Outlet; |
| 55 | +import org.httprpc.sierra.UILoader; |
| 56 | +import org.httprpc.sierra.tools.previewer.engine.RenderingEngine; |
| 57 | +import org.httprpc.sierra.tools.previewer.model.RenderError; |
| 58 | +import org.httprpc.sierra.tools.previewer.model.RenderResult; |
61 | 59 |
|
62 | 60 | /** |
63 | 61 | * The main application window for the Sierra UI Previewer. UI is defined in |
|
0 commit comments