The figure illustrates that a custom mode can be dragged from the Palette view to a portlet in the portlet editor.