3589
YELLOW Issue-Ref: 3589 Signed-off-by: Filip Reaboi reaboi@fotiss.org
Alex, please check and merge if you are agree with my solution.
When adding a refinement to a project appears java.lang.ArrayIndexOutOfBoundsException.
Against the java.lang.ArrayIndexOutOfBoundsException was modified the code in the Refinement Editor, line 242-244.
Then when adding a Value Rule appear 2 NullPointExceptions.
Against them was modified the code in the Refinement Editor, line 343 and 377. Added if(rule.getSourceValue() != null) and if(rule.getTargetValue() != null).
When added a Mapping Rule appears IllegalStateException in StructuredViewer.setInput
Against this exception in the line 558 was added: if(!sourceItem.getControl().isDisposed()) in the line 582 was added: if(!targetClassItem.getControl().isDisposed()) in the line 599 was added: if(!targetItem.getControl().isDisposed())
Simon, please one must do quick code review and assign to Alex to be merged. (Otherwise it will be soon with conflicts. And the component docs as well).