code: function(items, data) {
  					var inputManager = data.handler.inputManager || that.inputManager;
  					if (inputManager && inputManager.getReadOnly()) {
  						return false;
  					}
  					var editor = data.handler.editor || that.editor;
  					var formatter = data.handler.formatter || that.formatter;
  					return editor && editor.installed && formatter && formatter.isVisible();
  				}
docs: $NON-NLS-1$ //$NON-NLS-0$