Skip to content

Commit 6475733

Browse files
committed
Fixes "EnrichmentMap" titles/labels. Better About dialog.
1 parent f756d78 commit 6475733

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/resolver/ResolverTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public ResolverTask(File root) {
2323

2424
@Override
2525
public void run(TaskMonitor taskMonitor) throws Exception {
26-
taskMonitor.setTitle("Enrichment Map");
26+
taskMonitor.setTitle("EnrichmentMap");
2727
taskMonitor.setStatusMessage("Scanning Folder for Data Sets");
2828

2929
results = DataSetResolver.guessDataSets(root, this);

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/style/charts/radialheatmap/RadialHeatMapChartFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Class<? extends CyCustomGraphics2<RadialHeatMapLayer>> getSupportedClass(
4545

4646
@Override
4747
public String getDisplayName() {
48-
return "Heat Pie (by Enrichment Map)";
48+
return "Heat Pie (by EnrichmentMap)";
4949
}
5050

5151
@Override

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/AboutDialog.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class AboutDialog extends JDialog {
6767

6868
@Inject
6969
public AboutDialog(CySwingApplication application, OpenBrowser browser) {
70-
super(application.getJFrame(), "About Enrichment Map", false);
70+
super(application.getJFrame(), "About EnrichmentMap", false);
7171
this.browser = browser;
7272
setResizable(false);
7373

@@ -80,22 +80,26 @@ public AboutDialog(CySwingApplication application, OpenBrowser browser) {
8080

8181
URL logoURL = this.getClass().getResource("enrichmentmap_logo.png");
8282

83-
editorPane.setText("<html><body>" +
84-
//"<div style=\"float:right;\"><img height=\"77\" width=\"125\" src=\""+ logoURL.toString() +"\" ></div>" +
83+
editorPane.setText("<html><body style='font-family:Arial,Helvetica,sans-serif;'>" +
8584
"<table border='0'><tr>" + "<td width='125'></td>" + "<td width='200'>"
86-
+ "<p align=center><b>Enrichment Map v" + APP_VERSION + "</b><BR>" + "A Cytoscape App<BR>" + "<BR></p>"
85+
+ "<p align=center><b>EnrichmentMap v" + APP_VERSION + "</b><BR>" + "A Cytoscape App<BR>" + "<BR></p>"
8786
+ "</td>" + "<td width='125'><div align='right'><img height='77' width='125' src=\""
88-
+ logoURL.toString() + "\" ></div></td>" + "</tr></table>"
89-
+ "<p align=center>Enrichment Map is a network-based method to visualize<BR>"
87+
+ logoURL.toString() + "\" ></div></td>" + "</tr>"
88+
+ "</table>"
89+
+ "<hr size='4' noshade>"
90+
+ "<p align=center>EnrichmentMap is a network-based method to visualize<BR>"
9091
+ "and interpret gene-set enrichment results.<BR>" + "<BR>"
9192
+ "by Gary Bader, Daniele Merico, Ruth Isserlin and Oliver Stueker<BR>"
9293
+ "(<a href='http://www.baderlab.org/'>Bader Lab</a>, University of Toronto)<BR>" + "<BR>"
93-
+ "App Homepage:<BR>" + "<a href='" + APP_URL + "'>" + APP_URL + "</a><BR>" + "<BR>"
94-
+ "If you use this app in your research, please cite:<BR>"
94+
+ "App Homepage:<BR>" + "<a href='" + APP_URL + "'>" + APP_URL + "</a></p><BR>"
95+
+ "<hr size='4' noshade>"
96+
+ "<p style='font-size:small'>If you use this app in your research, please cite:</p>"
97+
+ "<p style='font-family:Courier,monospace;font-size:small'>"
9598
+ "Merico D, Isserlin R, Stueker O, Emili A, Bader GD<BR>"
9699
+ "Enrichment Map: A Network-Based Method for <BR>"
97100
+ "Gene-Set Enrichment Visualization and Interpretation<BR>" + "<i>PLoS One. 2010 Nov 15;5(11)</i><BR>"
98-
+ "</p></body></html>");
101+
+ "</p><BR>"
102+
+ "</body></html>");
99103

100104
setContentPane(editorPane);
101105
}

0 commit comments

Comments
 (0)