Class TextDataMapping
- java.lang.Object
-
- org.eclipse.graphiti.pattern.mapping.MappingProviderProvider
-
- org.eclipse.graphiti.pattern.mapping.data.DataMapping
-
- org.eclipse.graphiti.pattern.mapping.data.TextDataMapping
-
- All Implemented Interfaces:
IDataMapping
,ITextDataMapping
- Direct Known Subclasses:
LabelDataMapping
public abstract class TextDataMapping extends DataMapping implements ITextDataMapping
The Class TextDataMapping.
-
-
Constructor Summary
Constructors Constructor Description TextDataMapping(IMappingProvider mappingProvider)
Creates a newTextDataMapping
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getText(PictogramLink link)
Gets the text.-
Methods inherited from class org.eclipse.graphiti.pattern.mapping.data.DataMapping
getBusinessObject, getUpdateWarning
-
Methods inherited from class org.eclipse.graphiti.pattern.mapping.MappingProviderProvider
getMappingProvider
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.graphiti.pattern.mapping.data.IDataMapping
getUpdateWarning
-
-
-
-
Constructor Detail
-
TextDataMapping
public TextDataMapping(IMappingProvider mappingProvider)
Creates a newTextDataMapping
.- Parameters:
mappingProvider
- the mapping provider
-
-
Method Detail
-
getText
public java.lang.String getText(PictogramLink link)
Description copied from interface:ITextDataMapping
Gets the text.- Specified by:
getText
in interfaceITextDataMapping
- Parameters:
link
- the pictogram link- Returns:
- the text
-
-