|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractLabelTextDisplayer
org.eclipse.gmf.runtime.lite.edit.parts.labels.CompositeLabelTextDisplayer
public class CompositeLabelTextDisplayer
A label text displayer composed of two independent displayers, one for read-only operations (displaying labels) and one for write-only operations (parsing the input and creating the associated command).
Constructor Summary | |
---|---|
CompositeLabelTextDisplayer(ILabelTextDisplayer reader,
ILabelTextDisplayer writer)
|
Method Summary | |
---|---|
org.eclipse.emf.common.command.Command |
getApplyCommand(org.eclipse.emf.ecore.EObject source,
String newValue)
By default, labels are not editable. |
String |
getDisplayText(org.eclipse.emf.ecore.EObject source)
Returns the text a label for the given source object should display. |
String |
getEditText(org.eclipse.emf.ecore.EObject source)
By default, the edit text is the same as the display text. |
org.eclipse.jface.viewers.ICellEditorValidator |
getValidator()
By default, no validation is performed. |
boolean |
isAffectingEvent(org.eclipse.emf.common.notify.Notification notification)
Returns whether the given notification may cause a source to require update of the label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeLabelTextDisplayer(ILabelTextDisplayer reader, ILabelTextDisplayer writer)
Method Detail |
---|
public org.eclipse.emf.common.command.Command getApplyCommand(org.eclipse.emf.ecore.EObject source, String newValue)
AbstractLabelTextDisplayer
getApplyCommand
in interface ILabelTextDisplayer
getApplyCommand
in class AbstractLabelTextDisplayer
public String getEditText(org.eclipse.emf.ecore.EObject source)
AbstractLabelTextDisplayer
getEditText
in interface ILabelTextDisplayer
getEditText
in class AbstractLabelTextDisplayer
public org.eclipse.jface.viewers.ICellEditorValidator getValidator()
AbstractLabelTextDisplayer
getValidator
in interface ILabelTextDisplayer
getValidator
in class AbstractLabelTextDisplayer
public String getDisplayText(org.eclipse.emf.ecore.EObject source)
ILabelTextDisplayer
public boolean isAffectingEvent(org.eclipse.emf.common.notify.Notification notification)
ILabelTextDisplayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |