code: public void initializeButtons() {
  
          List<Element> editableElements = CmsDomUtil.getElementsByClass(CmsGwtConstants.CLASS_EDITABLE, Tag.div);
          List<CmsDirectEditButtons> editables = Lists.newArrayList();
  
          for (Element elem : editableElements) {
              CmsPositionBean pos = CmsDomUtil.getEditablePosition(elem);
              m_positions.put(elem.getId(), pos);
          }
  
          CmsEditablePositionCalculator posCalc = new CmsEditablePositionCalculator(m_positions);
          m_buttonPositions = posCalc.calculatePositions();
  
          for (Element elem : editableElements) {
              CmsDirectEditButtons directEdit = processEditableElement(elem);
              m_directEditButtons.put(elem.getId(), directEdit);
              editables.add(directEdit);
          }
          Window.addResizeHandler(new ResizeHandler() {
  
              public void onResize(ResizeEvent event) {
  
                  repositionButtons();
              }
          });
      }
docs: Initializes the direct edit buttons.<p>