Author: mareshkau
Date: 2007-10-25 12:49:19 -0400 (Thu, 25 Oct 2007)
New Revision: 4518
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1143
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-10-25
16:11:26 UTC (rev 4517)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-10-25
16:49:19 UTC (rev 4518)
@@ -31,6 +31,7 @@
import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNode;
public abstract class VpeDefineContainerTemplate extends VpeAbstractTemplate {
private static final String ATTR_TEMPLATE = "template";
@@ -77,8 +78,8 @@
}
defineContainer.remove(sourceNode);
}
-
- public void beforeRemove(VpePageContext pageContext, Node sourceNode, Node visualNode,
Object data) {
+ @Override
+ public void beforeRemove(VpePageContext pageContext, Node sourceNode, nsIDOMNode
visualNode, Object data) {
TemplateFileInfo templateFileInfo = (TemplateFileInfo)data;
if (templateFileInfo != null && templateFileInfo.templateFile != null) {
pageContext.getEditPart().getController().getIncludeList().removeIncludeModel(templateFileInfo.templateFile);