This method changes both the active file name in the title bar, and the status message in the status bar. @param fileFullPath Full path to the text file currently being edited (to be displayed in the window's title bar). If null , the currently displayed message is not
(String fileFullPath, String statusMessage)
| 1265 | * If <code>null</code>, the status bar message is not changed. |
| 1266 | */ |
| 1267 | public void setMessages(String fileFullPath, String statusMessage) { |
| 1268 | if (fileFullPath != null) |
| 1269 | setTitle(fileFullPath); |
| 1270 | StatusBar statusBar = (StatusBar)getStatusBar(); |
| 1271 | if (statusBar!=null && statusMessage != null) |
| 1272 | statusBar.setStatusMessage(statusMessage); |
| 1273 | } |
| 1274 | |
| 1275 | |
| 1276 | /** |
no test coverage detected