git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e60cacf
)
JAL-2322 JAL-2309 replaced references to isheadless variable with method call to...
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Wed, 16 Nov 2016 14:38:32 +0000
(14:38 +0000)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Wed, 16 Nov 2016 14:38:32 +0000
(14:38 +0000)
src/jalview/io/HTMLOutput.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/HTMLOutput.java
b/src/jalview/io/HTMLOutput.java
index
ccf1ea4
..
a422a38
100755
(executable)
--- a/
src/jalview/io/HTMLOutput.java
+++ b/
src/jalview/io/HTMLOutput.java
@@
-43,8
+43,6
@@
public abstract class HTMLOutput
protected IProgressIndicator pIndicator;
protected IProgressIndicator pIndicator;
- private boolean headless;
-
protected File generatedFile;
public HTMLOutput(AlignmentPanel ap)
protected File generatedFile;
public HTMLOutput(AlignmentPanel ap)
@@
-252,7
+250,7
@@
public abstract class HTMLOutput
public String getOutputFile() throws NoFileSelectedException
{
String selectedFile = null;
public String getOutputFile() throws NoFileSelectedException
{
String selectedFile = null;
- if (pIndicator != null && !headless)
+ if (pIndicator != null && !isHeadless())
{
pIndicator.setProgressBar(MessageManager.formatMessage(
"status.waiting_for_user_to_select_output_file", "HTML"),
{
pIndicator.setProgressBar(MessageManager.formatMessage(
"status.waiting_for_user_to_select_output_file", "HTML"),
@@
-288,7
+286,7
@@
public abstract class HTMLOutput
protected void setProgressMessage(String message)
{
protected void setProgressMessage(String message)
{
- if (pIndicator != null && !headless)
+ if (pIndicator != null && !isHeadless())
{
pIndicator.setProgressBar(message, pSessionId);
}
{
pIndicator.setProgressBar(message, pSessionId);
}