diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/ui/dialogs/BoxPreferenceNode.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/ui/dialogs/BoxPreferenceNode.java | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/ui/dialogs/BoxPreferenceNode.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/ui/dialogs/BoxPreferenceNode.java deleted file mode 100644 index 0813ac4ef..000000000 --- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/ui/dialogs/BoxPreferenceNode.java +++ /dev/null @@ -1,140 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 Sybase, Inc. 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: - * Sybase, Inc. - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.pagedesigner.ui.dialogs; - -import org.eclipse.jface.preference.IPreferenceNode; -import org.eclipse.jface.preference.IPreferencePage; -import org.eclipse.swt.graphics.Image; -import org.eclipse.wst.css.core.internal.util.declaration.CSSPropertyContext; -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement; - -/** - * @author mengbo - * @version 1.5 - */ -public class BoxPreferenceNode implements IPreferenceNode { - private BoxPreferencePage _page; - - private IDOMElement _element; - - private CSSPropertyContext _styles; - - /** - * @param element - * @param style - */ - public BoxPreferenceNode(IDOMElement element, CSSPropertyContext style) { - super(); - _element = element; - _styles = style; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#add(org.eclipse.jface.preference.IPreferenceNode) - */ - public void add(IPreferenceNode node) { - // TODO: this pattern is being repeated; perhaps need common super for preference nodes? - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#createPage() - */ - public void createPage() { - _page = new BoxPreferencePage(_element, _styles); - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#disposeResources() - */ - public void disposeResources() { - // TODO: - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#findSubNode(java.lang.String) - */ - public IPreferenceNode findSubNode(String id) { - return null; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#getId() - */ - public String getId() { - return "Box"; //$NON-NLS-1$ - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#getLabelImage() - */ - public Image getLabelImage() { - return null; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#getLabelText() - */ - public String getLabelText() { - return DialogsMessages.getString("BoxPreferenceNode.LabelText"); //$NON-NLS-1$ - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#getPage() - */ - public IPreferencePage getPage() { - return _page; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#getSubNodes() - */ - public IPreferenceNode[] getSubNodes() { - return new IPreferenceNode[0]; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#remove(java.lang.String) - */ - public IPreferenceNode remove(String id) { - return null; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.jface.preference.IPreferenceNode#remove(org.eclipse.jface.preference.IPreferenceNode) - */ - public boolean remove(IPreferenceNode node) { - return false; - } - -} |