[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: How to set Avoid obstructions and Closest distance on my connections by default.

Awesome, works great, thanks.

Tobias Neef wrote:
You are wright the ViewFactorys are deprecated but you can use a ViewProvider. A ViewProvider is generated with the name <Diagramname>ViewProvider. Inside this you have creation methods for all all view elements. Here you call the same stuff you could in the ViewFactorys. You can either overwrite the stuff in the generated code or provide you own ViewProvider via the org.eclipse.gmf.runtime.diagram.core.viewProviders extension.