code: function( buttonName, buttonLabel, commandName, commandExec )
  			{
  				editor.addCommand( commandName, new CKEDITOR.command( editor, { exec : commandExec }) );
  
  				editor.ui.addButton( buttonName,
  					{
  						label : buttonLabel,
  						command : commandName
  					});
  			}
docs: All buttons use the same code to register. So, to avoid duplications, let's use this tool function.