public class ECPStringLineWrapper extends Object implements ECPStringModifier
ECPStringModifier
which wraps texts automatically after 80 chars.Constructor and Description |
---|
ECPStringLineWrapper() |
Modifier and Type | Method and Description |
---|---|
double |
getPriority()
Returns the priority of this modifier.
|
String |
modifyString(String text,
org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Modifies a string.
|
public String modifyString(String text, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
modifyString
in interface ECPStringModifier
text
- the text to modifysetting
- the Setting used to generate this textECPStringModifier.modifyString(java.lang.String,
org.eclipse.emf.ecore.EStructuralFeature.Setting)
public double getPriority()
#modifyString(String, Setting)
method of this modifier is executed before modifiers with higher priority.getPriority
in interface ECPStringModifier
ECPStringModifier.getPriority()
Copyright © 2016. All rights reserved.