diff options
author | david_williams | 2005-04-05 06:07:16 +0000 |
---|---|---|
committer | david_williams | 2005-04-05 06:07:16 +0000 |
commit | c39caafc75f72b202e220ec0f6bb0b86ab5a68af (patch) | |
tree | 972493b4dfb01867a310a506051f61ee35c9f14f /bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java | |
parent | 6a8e389476242714f2b71632f8c0e5998782818b (diff) | |
download | webtools.sourceediting-c39caafc75f72b202e220ec0f6bb0b86ab5a68af.tar.gz webtools.sourceediting-c39caafc75f72b202e220ec0f6bb0b86ab5a68af.tar.xz webtools.sourceediting-c39caafc75f72b202e220ec0f6bb0b86ab5a68af.zip |
many changes from "XML" form of name to "DOM" form of name
Diffstat (limited to 'bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java b/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java index 39a8a44b05..bc41306854 100644 --- a/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java +++ b/bundles/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/correction/InsertRequiredAttrsQuickAssistProposal.java @@ -30,7 +30,7 @@ import org.eclipse.wst.sse.core.text.IStructuredDocumentRegion; import org.eclipse.wst.sse.core.text.ITextRegion; import org.eclipse.wst.sse.ui.internal.StructuredTextViewer; import org.eclipse.wst.sse.ui.internal.contentassist.ContentAssistUtils; -import org.eclipse.wst.xml.core.document.DOMNode; +import org.eclipse.wst.xml.core.document.IDOMNode; import org.eclipse.wst.xml.core.internal.contentmodel.CMAttributeDeclaration; import org.eclipse.wst.xml.core.parser.XMLRegionContext; import org.eclipse.wst.xml.ui.internal.XMLUIPlugin; @@ -62,7 +62,7 @@ public class InsertRequiredAttrsQuickAssistProposal implements ICompletionPropos * char, int, int) */ public void apply(ITextViewer viewer, char trigger, int stateMask, int offset) { - DOMNode node = (DOMNode) ContentAssistUtils.getNodeAt((StructuredTextViewer) viewer, offset); + IDOMNode node = (IDOMNode) ContentAssistUtils.getNodeAt((StructuredTextViewer) viewer, offset); IStructuredDocumentRegion startStructuredDocumentRegion = node.getStartStructuredDocumentRegion(); int index = startStructuredDocumentRegion.getEndOffset(); ITextRegion lastRegion = startStructuredDocumentRegion.getLastRegion(); |