code: public CmsElementOptionButton createOptionForElement(CmsContainerPageElementPanel element) {
  
          if (!isOptionAvailable(element)) {
              return null;
          }
          CmsElementOptionButton button = new CmsElementOptionButton(this, element);
          button.addClickHandler(m_elementClickHandler);
          return button;
      }
docs: Creates an element options button associated with this button and assigns the click-handler.<p>
  If this method returns null, no option button should be shown.<p>
  
  @param element the element to create the button for
  
  @return the created button