MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / addHelp

Method addHelp

ij/src/main/java/ij/gui/GenericDialog.java:2007–2010  ·  view source on GitHub ↗

Adds a "Help" button that opens the specified URL in the default browser. With v1.46b or later, displays an HTML formatted message if 'url' starts with " ". There is an example at http://imagej.net/ij/macros/js/DialogWithHelp.js If url is an empty String, pressing the "Help" button does

(String url)

Source from the content-addressed store, hash-verified

2005 calling the DialogListeners (if any). See also: setHelpLabel.
2006 */
2007 public void addHelp(String url) {
2008 help = new Button(helpLabel);
2009 helpURL = url;
2010 }
2011
2012 void showHelp() {
2013 if (helpURL.startsWith("<html>")) {

Callers 15

okToDeleteRoiMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95
doOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected