org.eclipse.gmf.runtime.lite.edit.parts.labels
Class SimpleLabelTextDisplayer
java.lang.Object
org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractLabelTextDisplayer
org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractFeatureBasedLabelTextDisplayer
org.eclipse.gmf.runtime.lite.edit.parts.labels.MessageFormatLabelTextDisplayer
org.eclipse.gmf.runtime.lite.edit.parts.labels.SimpleLabelTextDisplayer
- All Implemented Interfaces:
- ILabelTextDisplayer, org.eclipse.jface.viewers.ICellEditorValidator
Deprecated. Use MessageFormatLabelTextDisplayer
instead.
public class SimpleLabelTextDisplayer
- extends MessageFormatLabelTextDisplayer
An implementation of ILabelTextDisplayer
that is based on a format
and
a number of structural features
of the source object.
Constructor Summary |
SimpleLabelTextDisplayer(String viewPattern,
org.eclipse.emf.ecore.EStructuralFeature... features)
Deprecated. Creates a text displayer which uses the given view pattern and will operate on the given features. |
SimpleLabelTextDisplayer(String viewPattern,
String editPattern,
org.eclipse.emf.ecore.EStructuralFeature... features)
Deprecated. Creates a text displayer which uses the given view and edit patterns and will operate on the given features. |
Methods inherited from class org.eclipse.gmf.runtime.lite.edit.parts.labels.MessageFormatLabelTextDisplayer |
adjustPattern, buildDisplayText, buildEditText, buildTextByPattern, createEditorPatternProcessor, createEditPatternProcessor, createViewPatternProcessor, getEditorPatternProcessor, getEditPatternProcessor, getViewPatternProcessor, parseEditedValues |
Methods inherited from class org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractFeatureBasedLabelTextDisplayer |
getApplyCommand, getDisplayText, getEditText, getFeatures, getValidator, getValidNewValue, getValidValue, getValues, isAffectingEvent, isValid, shouldReplaceEmptyStringsWithNulls |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleLabelTextDisplayer
public SimpleLabelTextDisplayer(String viewPattern,
org.eclipse.emf.ecore.EStructuralFeature... features)
- Deprecated.
- Creates a text displayer which uses the given view pattern and will operate on the given features.
The label is not editable.
SimpleLabelTextDisplayer
public SimpleLabelTextDisplayer(String viewPattern,
String editPattern,
org.eclipse.emf.ecore.EStructuralFeature... features)
- Deprecated.
- Creates a text displayer which uses the given view and edit patterns and will operate on the given features.
If the edit pattern is
null
, the label will not be editable.
Copyright © 2012. All Rights Reserved.