/** * <copyright> * </copyright> * * */ package org.feature.multi.perspective.mapping.viewmapping.resource.mtext; /** * Implementors of this interface can be used to post-process parsed text * resources. This can be useful to validate or modify the model that was * instantiated for the text. */ public interface IMtextResourcePostProcessor { /** * Processes the resource after it was parsed. This method is automatically called * for registered post processors. * * @param resource the resource to validate of modify */ public void process(org.feature.multi.perspective.mapping.viewmapping.resource.mtext.mopp.MtextResource resource); /** * This method is called to request the post processor to terminate. It is called * from a different thread than the one that called process(). Terminating post * processors is required when text resources are parsed in the background. * Implementing this method is optional. */ public void terminate(); }