Fixed ?
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / corext / template / ITemplateEditor.java
1 /*
2  * (c) Copyright IBM Corp. 2000, 2001.
3  * All Rights Reserved.
4  */
5 package net.sourceforge.phpdt.internal.corext.template;
6
7 import org.eclipse.core.runtime.CoreException;
8
9 /**
10  * A template editor implements an action to edit a template buffer in its context.
11  */
12 public interface ITemplateEditor {
13
14         /**
15          * Modifies a template buffer.
16          * 
17          * @param buffer the template buffer
18          * @param context the template context
19          * @throws CoreException if the buffer cannot be successfully modified
20          */
21         void edit(TemplateBuffer buffer, TemplateContext context) throws CoreException;
22
23 }