blob: 214fb774c7b12022c04337b4604b17a6acbe2f41 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 Angelo Zerr 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:
* Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
* IBM Corporation
*******************************************************************************/
package org.eclipse.e4.ui.css.core.impl.dom;
import java.io.Serializable;
import org.w3c.dom.DOMException;
import org.w3c.dom.css.CSSMediaRule;
import org.w3c.dom.css.CSSRule;
import org.w3c.dom.css.CSSRuleList;
import org.w3c.dom.css.CSSStyleSheet;
import org.w3c.dom.stylesheets.MediaList;
public class CSSMediaRuleImpl extends CSSRuleImpl implements CSSMediaRule, Serializable {
public CSSMediaRuleImpl(CSSStyleSheet parentStyleSheet, CSSRule parentRule,
MediaListImpl mediaListImpl) {
super(parentStyleSheet, parentRule);
// TODO Auto-generated constructor stub
}
/*
* (non-Javadoc)
* @see org.w3c.dom.css.CSSRule#getType()
*/
public short getType() {
return CSSRule.MEDIA_RULE;
}
// W3C CSSMediaRule API methods
public void deleteRule(int index) throws DOMException {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("NOT YET IMPLEMENTED");
}
public CSSRuleList getCssRules() {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("NOT YET IMPLEMENTED");
}
public MediaList getMedia() {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("NOT YET IMPLEMENTED");
}
public int insertRule(String rule, int index) throws DOMException {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("NOT YET IMPLEMENTED");
}
// Additional methods
public void setRuleList(CSSRuleListImpl rules) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("NOT YET IMPLEMENTED");
}
}