I'm currently investigate extending the GenericEditor but found that
from time to time I need to get the resource that is currently edited.
As an example I'm currently in a IDocumentListener,
IPresentationDamager/Repairer I have the document at hand and now need
to get hold of the corresponding resource (if available).
Lars has already suggested one of his artifices and there it seems the
"Active Editor" is queried for this purpose. Is this the recommended
way? or is there any alternative?
Am 13.01.21 um 17:21 schrieb Lars Vogel:
Hi Christoph,
https://www.vogella.com/tutorials/EclipseEditors/article.html should
be a good start.
Best regards, Lars
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev