code: public final void setViewDescriptor(ViewDescriptor viewDescriptor) {
  		Assert.notNull(viewDescriptor, "viewDescriptor");
  		setId(viewDescriptor.getId());
  		setLabel(viewDescriptor.getShowViewCommandLabel());
  		setIcon(viewDescriptor.getIcon());
  		setCaption(viewDescriptor.getCaption());
  		this.viewDescriptor = viewDescriptor;
  	}
docs: Sets the descriptor for the view that is to be opened by this command
  object. This command object will be assigned the id, label, icon, and
  caption from the given view descriptor.
  
  @param viewDescriptor
  The view descriptor, cannot be null.
  
  @throws IllegalArgumentException
  if {@code viewDescriptor} is null.