};
modeController.execute(actor, node.getMap());
}
public void copyStyleExtensions(final IStyle style, final NodeModel target) {
final MTextController textController = MTextController.getController();
final MapStyleModel extension = MapStyleModel.getExtension(target.getMap());
final NodeModel styleNode = extension.getStyleNode(style);
if(styleNode != null){
final MAttributeController attributeController = MAttributeController.getController();
attributeController.copyAttributesToNode(styleNode, target);
final String detailTextText = DetailTextModel.getDetailTextText(styleNode);
if(detailTextText != null)
textController.setDetails(target, detailTextText);
final String noteText = NoteModel.getNoteText(styleNode);
if(noteText != null)
{
MNoteController noteController = (MNoteController) NoteController.getController();
noteController.setNoteText(target, noteText);