diff options
author | nitind | 2007-12-03 18:45:59 +0000 |
---|---|---|
committer | nitind | 2007-12-03 18:45:59 +0000 |
commit | 2fdba8db3247f8d5a3c5bc951c991d16d6b35c55 (patch) | |
tree | c01ef37f56463db11d5684f4db6f3cc584ab702e /bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java | |
parent | 81ba8ba7628bb67b322311a2238afa3f53170444 (diff) | |
download | webtools.sourceediting-200712031745.tar.gz webtools.sourceediting-200712031745.tar.xz webtools.sourceediting-200712031745.zip |
This commit was manufactured by cvs2svn to create tag 'v200712031745'.v200712031745
Diffstat (limited to 'bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java')
-rw-r--r-- | bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java | 126 |
1 files changed, 0 insertions, 126 deletions
diff --git a/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java b/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java deleted file mode 100644 index d6e6486406..0000000000 --- a/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/document/CSSModelNodeFeeder.java +++ /dev/null @@ -1,126 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.css.core.internal.document; - -import org.eclipse.wst.css.core.internal.provisional.document.ICSSDocument; - - -/** - * - */ -class CSSModelNodeFeeder { - /** - * currently ICSSDocument is used but may go back to CSSDocumentImpl in future. - */ - ICSSDocument fDocument = null; - CSSModelUpdateContext fUpdateContext = null; - - /** - * CSSModelNodeFeeder constructor comment. - */ - CSSModelNodeFeeder() { - super(); - } - - /** - * CSSModelNodeFeeder constructor comment. - * currently ICSSDocument is used but may go back to CSSDocumentImpl in future. - */ - CSSModelNodeFeeder(ICSSDocument document, CSSModelUpdateContext updateContext) { - super(); - fDocument = document; - fUpdateContext = updateContext; - } - - /** - * - */ - CSSCharsetRuleImpl getCSSCharsetRule() { - CSSCharsetRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSCharsetRule(); - } - else { - node = (CSSCharsetRuleImpl) fDocument.createCSSCharsetRule(); - } - return node; - } - - /** - * - */ - CSSFontFaceRuleImpl getCSSFontFaceRule() { - CSSFontFaceRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSFontFaceRule(); - } - else { - node = (CSSFontFaceRuleImpl) fDocument.createCSSFontFaceRule(); - } - return node; - } - - /** - * - */ - CSSImportRuleImpl getCSSImportRule() { - CSSImportRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSImportRule(); - } - else { - node = (CSSImportRuleImpl) fDocument.createCSSImportRule(); - } - return node; - } - - /** - * - */ - CSSMediaRuleImpl getCSSMediaRule() { - CSSMediaRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSMediaRule(); - } - else { - node = (CSSMediaRuleImpl) fDocument.createCSSMediaRule(); - } - return node; - } - - /** - * - */ - CSSPageRuleImpl getCSSPageRule() { - CSSPageRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSPageRule(); - } - else { - node = (CSSPageRuleImpl) fDocument.createCSSPageRule(); - } - return node; - } - - /** - * - */ - CSSStyleRuleImpl getCSSStyleRule() { - CSSStyleRuleImpl node; - if (fUpdateContext.isActive()) { - node = fUpdateContext.getCSSStyleRule(); - } - else { - node = (CSSStyleRuleImpl) fDocument.createCSSStyleRule(); - } - return node; - } -} |