2  * (c) Copyright IBM Corp. 2000, 2001.
 
   5 package net.sourceforge.phpdt.internal.corext.template;
 
   7 import org.eclipse.core.runtime.CoreException;
 
  10  * A template editor implements an action to edit a template buffer in its context.
 
  12 public interface ITemplateEditor {
 
  15          * Modifies a template buffer.
 
  17          * @param buffer the template buffer
 
  18          * @param context the template context
 
  19          * @throws CoreException if the buffer cannot be successfully modified
 
  21         void edit(TemplateBuffer buffer, TemplateContext context) throws CoreException;