{
return;
}
}
final MassElementStyleUndoEntryBuilder builder = new MassElementStyleUndoEntryBuilder(selectedElements);
final MoveDragOperation mop = new MoveDragOperation(selectedElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
if (keyCode == KeyEvent.VK_UP)
{
mop.update(new Point(0, -1), 1);
}
else if (keyCode == KeyEvent.VK_DOWN)
{
mop.update(new Point(0, 1), 1);
}
else if (keyCode == KeyEvent.VK_LEFT)
{
mop.update(new Point(-1, 0), 1);
}
else
{
mop.update(new Point(1, 0), 1);
}
final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
getRenderContext().getUndo().addChange(Messages.getString("AbstractRenderComponent.MoveUndoName"), massElementStyleUndoEntry);
mop.finish();
}