The following <portlet-action> element specifies the action class EditorAction. The attribute value editor="true" indicates that this action is invoked when a user clicks the portlet's Edit icon.
<portlet-action name="editor" editor="true">
<type>sample.displayurl.EditorAction</type>
</portlet-action>