blob: e5f202deb4b5c040e1223a39251712b36acd8617 [file] [log] [blame]
package org.eclipse.wst.sse.core.internal.document;
import org.eclipse.jface.text.DocumentEvent;
/**
* Listener for document events that should have the document's state
* validated first.
*/
public interface IDocumentStateValidationListener {
/**
* Validates the document's state.
* @param event the document event that triggered document state validation
* @return true if the document is in a state valid of being edited; false otherwise.
*/
public boolean validateDocumentState(DocumentEvent event);
}