currentEditor = multilineEditor;
}
if (currentEditor != null && currentEditor.isVisible()) {
String text = currentEditor.getText();
Label label = currentEditor.getLabel();
SetLabelTextCommand command = new SetLabelTextCommand(label, text);
diagramEditor.execute(command);
currentEditor.hideEditor();
diagramEditor.repaint();
return true;
}