diff options
Diffstat (limited to 'bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/contentassist/CSSCACandidate.java')
-rw-r--r-- | bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/contentassist/CSSCACandidate.java | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/contentassist/CSSCACandidate.java b/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/contentassist/CSSCACandidate.java deleted file mode 100644 index 89d80181c0..0000000000 --- a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/contentassist/CSSCACandidate.java +++ /dev/null @@ -1,113 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2010 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.ui.internal.contentassist; - - - -import org.eclipse.wst.css.core.internal.metamodel.CSSMMNode; -import org.eclipse.wst.css.ui.internal.image.CSSImageType; - -class CSSCACandidate { - - private String fReplacementString = null; - private int fCursorPosition = 0; - private String fDisplayString = null; - private CSSImageType fImageType = null; - private CSSMMNode fNode = null; - /** - * CSSCACandidate constructor comment. - */ - CSSCACandidate() { - super(); - } - - /** - * - */ - int getCursorPosition() { - return fCursorPosition; - } - - /** - * - */ - String getDisplayString() { - return fDisplayString; - } - - /** - * - */ - CSSImageType getImageType() { - return fImageType; - } - - /** - * - */ - String getReplacementString() { - return fReplacementString; - } - - CSSMMNode getMMNode() { - return fNode; - } - - /** - * - */ - void setCursorPosition(int cursorPosition) { - fCursorPosition = cursorPosition; - } - - /** - * - */ - void setDisplayString(String displayString) { - fDisplayString = displayString; - } - - /** - * - */ - void setImageType(CSSImageType imageType) { - fImageType = imageType; - } - - /** - * - */ - void setReplacementString(String replacementString) { - fReplacementString = replacementString; - } - - void setMMNode(CSSMMNode node) { - fNode = node; - } - - /** - * Returns a String that represents the value of this object. - * - * @return a string representation of the receiver - */ - public String toString() { - StringBuffer buf = new StringBuffer(); - buf.append(getReplacementString()); - buf.append("\"");//$NON-NLS-1$ - buf.append(getDisplayString()); - buf.append("\"");//$NON-NLS-1$ - buf.append("(");//$NON-NLS-1$ - buf.append(getCursorPosition()); - buf.append(")");//$NON-NLS-1$ - - return buf.toString(); - } -} |