Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
issue #66
  • Loading branch information
rsoika committed Jun 8, 2017
1 parent 7dc77c7 commit 914b462
Showing 1 changed file with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,12 @@ public void createBindings(final EObject be) {

setTitle("Report Configuration");

Map<String,String> optionList = new HashMap<String,String>();
optionList.put("0","attach to Workitem");
optionList.put("1","attach to LOB Workitem");
optionList.put("2","save to disk");
Value value = ImixsBPMNPlugin.getItemValueByName((BaseElement) be,
"txtReportTarget", null, "1");
RadioButtonEditor aEditor = new RadioButtonEditor(this, value,
optionList);
aEditor.createControl(attributesComposite, "Target");

value = ImixsBPMNPlugin.getItemValueByName((BaseElement) be, "txtReportName",

Value value = ImixsBPMNPlugin.getItemValueByName((BaseElement) be, "txtReportName",
null, "");
TextObjectEditor valueEditor = new TextObjectEditor(this, value,
ImixsBPMNPlugin.IMIXS_ITEMVALUE);
valueEditor.createControl(attributesComposite, "Name");
valueEditor.createControl(attributesComposite, "Report-Name");

value = ImixsBPMNPlugin.getItemValueByName((BaseElement) be, "txtReportFilePath",
null, "");
Expand All @@ -73,8 +64,19 @@ public void createBindings(final EObject be) {
value = ImixsBPMNPlugin.getItemValueByName((BaseElement) be, "txtReportParams",
null, "");
valueEditor = new TextObjectEditor(this, value, ImixsBPMNPlugin.IMIXS_ITEMVALUE);
valueEditor.createControl(attributesComposite, "Parameter");
valueEditor.createControl(attributesComposite, "Parameters");


Map<String,String> optionList = new HashMap<String,String>();
optionList.put("0","Attach to Workitem");
optionList.put("2","Save to filesystem");
value = ImixsBPMNPlugin.getItemValueByName((BaseElement) be,
"txtReportTarget", null, "0");
RadioButtonEditor aEditor = new RadioButtonEditor(this, value,
optionList);
aEditor.createControl(attributesComposite, "Target");


}

}
Expand Down

0 comments on commit 914b462

Please sign in to comment.