commit | 94a2dde46bfc7cfbb7418b61c576e16548de5a32 | [log] [tgz] |
---|---|---|
author | Stephan Wahlbrink <sw@wahlbrink.eu> | Thu Oct 24 17:33:51 2019 +0200 |
committer | Stephan Wahlbrink <sw@wahlbrink.eu> | Fri Oct 25 18:34:53 2019 +0200 |
tree | 2c8b6919ec86597032beb5ec4fde0bd41cb44163 | |
parent | 83469942f1e423b7f2b16b0df4657ab8cffe7318 [diff] |
[DocProcessing] Make access to RUN_STEPS_ATTR more type-safe
diff --git a/redocs/org.eclipse.statet.redocs.tex.r/src/org/eclipse/statet/internal/redocs/tex/r/ui/processing/TexRweaveLaunchDelegate.java b/redocs/org.eclipse.statet.redocs.tex.r/src/org/eclipse/statet/internal/redocs/tex/r/ui/processing/TexRweaveLaunchDelegate.java index c9af1dc..79cee5f 100644 --- a/redocs/org.eclipse.statet.redocs.tex.r/src/org/eclipse/statet/internal/redocs/tex/r/ui/processing/TexRweaveLaunchDelegate.java +++ b/redocs/org.eclipse.statet.redocs.tex.r/src/org/eclipse/statet/internal/redocs/tex/r/ui/processing/TexRweaveLaunchDelegate.java
@@ -78,8 +78,7 @@ byte runProduce= 0; byte runPreview= 0; - final Set<String> steps= configuration.getAttribute( - DocProcessingUI.RUN_STEPS_ATTR_NAME, Collections.<String>emptySet() ); + final Set<String> steps= DocProcessingUI.getRunSteps(configuration); if (steps.isEmpty()) { runWeave= StepConfig.RUN_DEFAULT; runProduce= StepConfig.RUN_DEFAULT;
diff --git a/redocs/org.eclipse.statet.redocs.wikitext.r/src/org/eclipse/statet/internal/redocs/wikitext/r/ui/processing/WikitextRweaveLaunchDelegate.java b/redocs/org.eclipse.statet.redocs.wikitext.r/src/org/eclipse/statet/internal/redocs/wikitext/r/ui/processing/WikitextRweaveLaunchDelegate.java index 249d328..6a86b3a 100644 --- a/redocs/org.eclipse.statet.redocs.wikitext.r/src/org/eclipse/statet/internal/redocs/wikitext/r/ui/processing/WikitextRweaveLaunchDelegate.java +++ b/redocs/org.eclipse.statet.redocs.wikitext.r/src/org/eclipse/statet/internal/redocs/wikitext/r/ui/processing/WikitextRweaveLaunchDelegate.java
@@ -80,8 +80,7 @@ byte runProduce= 0; byte runPreview= 0; - final Set<String> steps= configuration.getAttribute( - DocProcessingUI.RUN_STEPS_ATTR_NAME, Collections.<String>emptySet() ); + final Set<String> steps= DocProcessingUI.getRunSteps(configuration); if (steps.isEmpty()) { runWeave= StepConfig.RUN_DEFAULT; runProduce= StepConfig.RUN_DEFAULT;