Could anyone explain to me why the ViewFactory pattern is deprecated within the GMF Tooling model?
Specifically, I am trying to extend a GMF generated model and customize the Views that are created. With view factories that was easy all I had to do was extend the view factory for the view I wanted to customize and provide the extended view factory from my own View Provider. Now the only way I can think to do it is create a ViewFactory and create an instance of the generated View Provider and call the create method from my own view factory. This doesn't seem correct.
Ok so I did some more investigation. I can now see the the ViewProvider and ViewFactory do basically the same thing.
However, as I stated before I'm trying to extend a model and all the examples on how to do that use a ViewFactory.
So to accomplish my goals I created a view provider with a high priority than the original model. It then returns a ViewFactory when I want to override the behavior. This ViewFactory extends the ViewProvider from the Generated model and implements ViewFactory. This seems to work nicely since then I can override the create methods if I want and can easily call all the other create methods from the View Factory's create method.