Community
Participate
Working Groups
PromptingDeleteAction assumes that every editpart returns an instance of View for getModel(). I have a view that contains children that are not views.
Client had overridden base class behavior for getModel to return direct reference instead of the dummyView. They have been advised instead to use the basicGetModel() method instead in their hierarchy to retrieve the direct reference. Code in PromptingDeleteAction should still not blindly cast from getModel. Best practice would be to call hasNotationView first... If workaround is acceptable, we should downgrade severity to "normal"
It is working, but any client of getModel() needs to use workaround code to actually get to the real model. I created a public method on my editpart called get"Real"Model().
downgraded to normal severity
Targetting 2.0 since part of the proper fix is it not return a dummy view for getModel
Moving to the next release, GMF 2.1.
[GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug