Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/model/TextHelper.java
14 14
import org.eclipse.swt.widgets.Control;
15 15

  
16 16
/**
17
 * <p>TextHelper class.</p>
18
 *
17 19
 * @author n.hoffmann
18 20
 * @created Mar 30, 2010
19 21
 * @version 1.0
20 22
 */
21 23
public class TextHelper {
22 24
	
25
	/** Constant <code>ELLIPSIS="..."</code> */
23 26
	public static final String ELLIPSIS = "...";
24 27
		
25 28
	/**
26
	 * @param textValue
27
	 * @param control
28
	 * @return
29
	 * <p>shortenText</p>
30
	 *
31
	 * @param textValue a {@link java.lang.String} object.
32
	 * @param control a {@link org.eclipse.swt.widgets.Control} object.
29 33
	 * @see org.eclipse.jface.dialogs.Dialog#shortenText(String, Control)
34
	 * @return a {@link java.lang.String} object.
30 35
	 */
31 36
	public static String shortenText(String textValue, Control control) {
32 37
		if (textValue == null) {

Also available in: Unified diff