blob: f2a09c14604ce2fc1a12c20c3fd81b1e4275346f [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2005, 2019 SAP SE
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* SAP SE - initial API, implementation and documentation
* mwenz - Bug 325084 - Provide documentation for Patterns
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.graphiti.pattern.mapping.data;
import org.eclipse.graphiti.features.IMappingProvider;
import org.eclipse.graphiti.mm.pictograms.PictogramLink;
/**
* The Class TextDataMapping.
*
* @experimental This API is in an experimental state and should be used by
* clients, as it not final and can be removed or changed without
* prior notice!
*
* @noextend This class is not intended to be subclassed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public abstract class TextDataMapping extends DataMapping implements ITextDataMapping {
/**
* Creates a new {@link TextDataMapping}.
*
* @param mappingProvider
* the mapping provider
*/
public TextDataMapping(IMappingProvider mappingProvider) {
super(mappingProvider);
}
public String getText(PictogramLink link) {
return ""; //$NON-NLS-1$
}
}