public synchronized void initialize() {

        List<I_CmsContextMenuItem> result = Lists.newArrayList();
        for (I_CmsContextMenuItemProvider provider : m_providerMap.values()) {
            result.addAll(provider.getMenuItems());
        }
        m_itemCache = result;
    }
public synchronized void initialize ( ) { List < I_CmsContextMenuItem > result = Lists . newArrayList ( ) ; for ( I_CmsContextMenuItemProvider provider : m_providerMap . values ( ) ) { result . addAll ( provider . getMenuItems ( ) ) ; } m_itemCache = result ; }
Initializes this instance.<p>

This must be called after the provider classes have been added.