}
private void performDirectEdit()
{
TextModel textModel = (TextModel)getModel();
TextPart textPart = (TextPart)textModel.getSapphirePart();
if (textPart.isEditable())
{
TextFigure textFigure = (TextFigure)getFigure();
if (textFigure != null)
{
DirectEditManager manager = DirectEditorManagerFactory.createDirectEditorManager(this, textPart,