The MainformManager does not take the interfaces hierarchy correctly into account
|Reported by:||mkommend||Owned by:||abeham|
Currently the MainFormManager checks all implemented, but not inherited, interfaces for a specific type to determine its default view. A problem occurs if an interface implements another interface and both interfaces have a default view associated, as both interfaces are returned by Type.GetInterfaces. Therefore the interface hierarchy must be checked to return only the default view for the most specific interface.
Example: UserDefinedProblem implements IHeuristicProblem and is a subclass of ParameterizedNamedItem. IHeuristicProblem implements IProblem and for both interfaces default views are defined. Therefore the MainFormManager cannot decide, without analyzing the interface hierarchy, which default view to return (ProblemView or HeuristicProblemView).
Change History (5)
comment:2 Changed 5 years ago by mkommend
- Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.7
comment:3 Changed 5 years ago by mkommend
- Owner changed from mkommend to abeham
- Status changed from accepted to reviewing