org.eclipse.emf.ecp.view.internal.provider
Class ECPStringLineWrapper

java.lang.Object
  extended by org.eclipse.emf.ecp.view.internal.provider.ECPStringLineWrapper
All Implemented Interfaces:
ECPStringModifier

public class ECPStringLineWrapper
extends Object
implements ECPStringModifier

An ECPStringModifier which wraps texts automatically after 80 chars.

Author:
Eugen Neufeld

Constructor Summary
ECPStringLineWrapper()
           
 
Method Summary
 String modifyString(String text, org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
          Modifies a string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPStringLineWrapper

public ECPStringLineWrapper()
Method Detail

modifyString

public String modifyString(String text,
                           org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Modifies a string.

Specified by:
modifyString in interface ECPStringModifier
Parameters:
text - the text to modify
setting - the Setting used to generate this text
Returns:
the modified text
See Also:
ECPStringModifier.modifyString(java.lang.String, org.eclipse.emf.ecore.EStructuralFeature.Setting)


Copyright © 2015. All Rights Reserved.