if (textPart.isEditable())
{
TextFigure textFigure = (TextFigure)getPartFigure(textPart);
if (textFigure != null)
{
DirectEditManager manager = DirectEditorManagerFactory.createDirectEditorManager(this, textPart,
new NodeCellEditorLocator(getConfigurationManager(), textFigure), textFigure);
manager.show();
}
}
}