| /******************************************************************************* |
| * Copyright (c) 2011-2014 EclipseSource Muenchen GmbH and others. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Eugen Neufeld - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.emf.ecp.view.model.common; |
| |
| /** |
| * Tester for Text Renderer. |
| * |
| * @author Eugen Neufeld |
| * |
| */ |
| public class TextControlRendererTester extends SimpleControlRendererTester { |
| |
| /** |
| * {@inheritDoc} |
| * |
| * @see org.eclipse.emf.ecp.view.model.common.SimpleControlRendererTester#isSingleValue() |
| */ |
| @Override |
| protected boolean isSingleValue() { |
| return true; |
| } |
| |
| /** |
| * {@inheritDoc} |
| * |
| * @see org.eclipse.emf.ecp.view.model.common.SimpleControlRendererTester#getPriority() |
| */ |
| @Override |
| protected int getPriority() { |
| return 2; |
| } |
| |
| /** |
| * {@inheritDoc} |
| * |
| * @see org.eclipse.emf.ecp.view.model.common.SimpleControlRendererTester#getSupportedClassType() |
| */ |
| @Override |
| protected Class<?> getSupportedClassType() { |
| return String.class; |
| } |
| } |