Community
Participate
Working Groups
It should be possible to control whether the external resource overlay (which looks like a blue arrow currently) should be displayed.
Created attachment 208633 [details] patch Here is a patch that adds an API to control the appearance of the overlay on external resources.
Created attachment 208659 [details] patch for the test scenario To enable/disable the external resource overlay, simply call: org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager#setDecorateExternalResources Since this API controls custom painting, I see no way that I can write a proper unit test. So, here is a scenario to check that it works: - start Eclipse with this plug-in enabled: org.eclipse.emf.facet.infra.browser.uicore.examples.cnf (but org.eclipse.gmt.modisco.infra.browser.uicore.examples.cnf disabled) - open the "Project Explorer" view - expand a ".ecore" file, and see that the EFactory element(s) under the EPackage#eFactoryInstance reference have a blue arrow - now, apply the attached patch and restart the runtime Eclipse - check that the EFactory element(s) under the EPackage#eFactoryInstance don't have a blue arrow anymore
Created attachment 208663 [details] new plug-in : org.eclipse.emf.facet.infra.browser.doc Here is the associated documentation plug-in.
Comment on attachment 208633 [details] patch Committed in revision 1354.
Comment on attachment 208663 [details] new plug-in : org.eclipse.emf.facet.infra.browser.doc Committed in revision 1354.
Fixed in revision 1354 (for 0.2.0 M5)
Comment on attachment 208633 [details] patch It works in my environment. I agree to commit but the following methods have to be documented: - org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager.setDecorateExternalResources(boolean) - org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager.isDecorateExternalResources()
I reopen the bug because I think you should add images in your developper documentation to show the browser with the blue arrow and without the blue arrow. /Vincent Lorenzo
Comment on attachment 208663 [details] new plug-in : org.eclipse.emf.facet.infra.browser.doc Why cannot I see this documentation in http://download.eclipse.org/facet/doc/org.eclipse.emf.facet.doc/index.html ?
(In reply to comment #9) > Why cannot I see this documentation in > http://download.eclipse.org/facet/doc/org.eclipse.emf.facet.doc/index.html ? The documentation building mechanism for EMF Facet is convoluted : I spent more than an hour yesterday trying to figure out how it was supposed to work, and I didn't even get it right, since the documentation was ultimately not published. I think EMF Facet should adopt the simpler and more correct documentation building system that was redesigned for MoDisco.
I have added screenshots in the documentation in revision 1491, and I committed a fix for the documentation build in 1492.
I checked : the paragraphs I added now appear in the documentation (the images will appear with the next build). Marking as fixed.
(In reply to comment #12) > the images will appear with the next build They don't. I'm reopening to investigate.
I checked: the images now appear in the documentation: http://download.eclipse.org/facet/doc/org.eclipse.emf.facet.infra.browser.doc/mediawiki/plugin_dev.html
This bug can be closed.
Comment on attachment 208659 [details] patch for the test scenario I've found part of this patch in the source code : that's why I add an iplog+.