blob: 901efe02a039f210fbadec5aae54434662bd67c1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 KPIT Technologies.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Jan Mauersberger- initial API and implementation
* Sascha Baumgart- initial API and implementation
*******************************************************************************/
package org.eclipse.opencert.userguidance.celleditor;
import org.eclipse.swt.graphics.Font;
import org.eclipse.opencert.userguidance.labelparser.Highlighter;
import org.eclipse.opencert.userguidance.labelparser.tokens.HighlightItem;
public class CellEditorHighlighter extends Highlighter {
public CellEditorHighlighter(String inputText, Font normalFont,
Font boldFont) {
super(inputText, normalFont, boldFont);
}
@Override
protected String getRepresentation(HighlightItem item) {
return item.getRawString();
}
}