Community
Participate
Working Groups
= Problem description = Currently GMF diagrams are always loaded using default load options as per GMFResourceFactory#getLoadOptions() (see BasicDocumentProvider#setDocumentContent(IDocument, IEditorInput) for details). Clients which need to load GMF diagrams using custom load options have not choice but overriding the complete BasicDocumentProvider#setDocumentContent() which creates a whole bunch of redundant code and not very elegant. = Proposed resolution = * Introduce a new protected getLoadOptions() method (just like the already existing getSaveOptions() method * Let it return an empty map by default * Call it from BasicDocumentProvider#setDocumentContent() and use the returned options for loading GMF diagrams
Fixed as proposed in description.
Mass-closing Resolved tickets