MCPcopy Create free account
hub / github.com/bobbylight/RText / setMessages

Method setMessages

src/main/java/org/fife/rtext/RText.java:1267–1273  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 /**

Callers 12

actionPerformedMethod · 0.95
addTextAreaImplMethod · 0.80
stateChangedMethod · 0.80
addTextAreaImplMethod · 0.80
valueChangedMethod · 0.80
initializeMethod · 0.80
saveCurrentFileMethod · 0.80
valueChangedMethod · 0.80

Calls 1

setTitleMethod · 0.95

Tested by

no test coverage detected