org.eclipse.gmf.runtime.lite.edit.parts.labels
Class SimpleLabelTextDisplayer

java.lang.Object
  extended by org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractLabelTextDisplayer
      extended by org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractFeatureBasedLabelTextDisplayer
          extended by org.eclipse.gmf.runtime.lite.edit.parts.labels.MessageFormatLabelTextDisplayer
              extended by 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.


Field Summary
 
Fields inherited from class org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractFeatureBasedLabelTextDisplayer
EMPTY_STRING
 
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.
 
Method Summary
 
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
 

Constructor Detail

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.