Gets the toolbar element.<p>

@return the toolbar element
519509
protected Element getToolbarElement() {

        String toolbarId = m_id + "_external";
        Element result = getElementById(toolbarId);
        return result;
    }
1147371
public CanvasElement getCanvasElement()
    {
        if (LienzoCore.IS_CANVAS_SUPPORTED)
        {
            if (null == m_element)
            {
                m_element = Document.get().createCanvasElement();

                m_element.getStyle().setPosition(Position.ABSOLUTE);

                m_element.getStyle().setDisplay(Display.INLINE_BLOCK);
            }
            if (null == m_context)
            {
                m_context = new Context2D(m_element);
            }
        }
        return m_element;
    }
913963
public Canvas getViewPanel() {
		VLayout layout = new VLayout(5);
		layout.setPadding(5);

		MapWidget mapWidget = new MapWidget("mapGuwCountries", "appGuw");
		final RibbonBarLayout ribbon = new RibbonBarLayout(mapWidget, "appGuw", "guwRibbonBar2");
		ribbon.setSize("100%", "80px");

		layout.addMember(ribbon);
		layout.addMember(mapWidget);
		return layout;
	}
659699
ElemTemplateElement getElemTemplateElement()
  {

    try
    {
      return (ElemTemplateElement) m_elems.peek();
    }
    catch (java.util.EmptyStackException ese)
    {
      return null;
    }
  }
1226574
private JToolBar getToolbarRight() {
		if (footerToolbarRight == null) {
			footerToolbarRight = new JToolBar();
			footerToolbarRight.setEnabled(true);
			footerToolbarRight.setFloatable(false);
			footerToolbarRight.setRollover(true);
			footerToolbarRight.setName("Footer Toolbar Right");
			footerToolbarRight.setBorder(BorderFactory.createEmptyBorder());
		}
		return footerToolbarRight;
	}
408177
protected Element getEditorParentElement() {

        String parentId = m_id + "_parent";
        Element result = getElementById(parentId);
        return result;
    }
407429
protected JComponent createViewToolBar() {
    	if(getPageComponent() instanceof AbstractEditor){
    		AbstractEditor editor = (AbstractEditor)getPageComponent();
            return editor.getEditorToolBar();
    	}
    	return null;
    }
502518
public Map<String, List<CmsJspResourceWrapper>> getElementsInContainer() {

        return CmsCollectionsGenericWrapper.createLazyMap(obj -> {
            if (obj instanceof String) {
                List<CmsJspResourceWrapper> elements = new ArrayList<>();
                CmsContainerBean container = getPage().getContainers().get(obj);
                if (container != null) {
                    for (CmsContainerElementBean element : container.getElements()) {
                        try {
                            element.initResource(m_cms);
                            elements.add(CmsJspResourceWrapper.wrap(m_cms, element.getResource()));
                        } catch (Exception e) {
                            LOG.error(e.getLocalizedMessage(), e);
                        }
                    }
                }
                return elements;
            } else {
                return null;
            }
        });

    }
824359
public JMenuBar getViewMenuBar(){

		CommandGroup commandGroup = getCommandGroup(getMenuBarCommandGroupName());
		if(commandGroup == null){
			return null;
		}
		return commandGroup.createMenuBar();
	}
358260
protected I_CmsContextMenuEntry createElementViewSelectionMenuEntry() {

        List<CmsElementViewInfo> elementViews = m_controller.getData().getElementViews();
        if (elementViews.size() > 1) {
            CmsContextMenuEntry parentEntry = new CmsContextMenuEntry(this, null, new I_CmsContextMenuCommand() {

                public void execute(
                    CmsUUID innerStructureId,
                    I_CmsContextMenuHandler handler,
                    CmsContextMenuEntryBean bean) {

                    // do nothing
                }

                public A_CmsContextMenuItem getItemWidget(
                    CmsUUID innerStructureId,
                    I_CmsContextMenuHandler handler,
                    CmsContextMenuEntryBean bean) {

                    return null;
                }

                public boolean hasItemWidget() {

                    return false;
                }

            });
            CmsContextMenuEntryBean parentBean = new CmsContextMenuEntryBean();

            parentBean.setLabel(Messages.get().key(Messages.GUI_SELECT_ELEMENT_VIEW_0));
            parentBean.setActive(true);
            parentBean.setVisible(true);
            parentEntry.setBean(parentBean);
            List<I_CmsContextMenuEntry> viewEntries = new ArrayList<I_CmsContextMenuEntry>();
            for (CmsElementViewInfo viewInfo : elementViews) {
                if (viewInfo.isRoot()) {
                    viewEntries.add(
                        createMenuEntryForElementView(
                            viewInfo,
                            m_controller.matchRootView(viewInfo.getElementViewId()),
                            this));
                }
            }

            parentEntry.setSubMenu(viewEntries);
            return parentEntry;
        } else {
            return null;
        }
    }
160615
public CmsContainerBean getParentContainer() {

        CmsContainerBean result = null;
        if ((getContainer() != null) && (getContainer().getParentInstanceId() != null)) {
            result = m_parentContainers.get(getContainer().getParentInstanceId());
        }
        return result;
    }
75839
public static MenuItem getMenuItem(@NonNull Toolbar toolbar, @IdRes int menuId) {
        View v;
        int childCount;
        View innerView;
        MenuItem menuItem;
        for (int i = 0; i < toolbar.getChildCount(); i++) {
            v = toolbar.getChildAt(i);
            if (v instanceof ActionMenuView) {
                childCount = ((ActionMenuView) v).getChildCount();
                for (int j = 0; j < childCount; j++) {
                    innerView = ((ActionMenuView) v).getChildAt(j);
                    if (innerView instanceof ActionMenuItemView) {
                        menuItem = ((ActionMenuItemView) innerView).getItemData();
                        if (menuItem.getItemId() == menuId) {
                            return menuItem;
                        }
                    }
                }
            }
        }
        return null;
    }
133539
protected ActionBar getActionBar() {
        ActionBarProvider actionBarProvider = ((ActionBarProvider)getActivity());
        return actionBarProvider != null ? actionBarProvider.getSupportActionBar() : null;
    }
690922
public CmsUUID getElementView() {

        String elementViewString = getString(CmsEditorConstants.ATTR_ELEMENT_VIEW);
        if (elementViewString == null) {
            return null;
        }
        return new CmsUUID(elementViewString);
    }
234060
public CmsListItem getSelectedItem() {

        try {
            return getList().getItem(
                CmsStringUtil.splitAsArray(getParamSelItems(), CmsHtmlList.ITEM_SEPARATOR)[0].trim());
        } catch (Exception e) {
            try {
                return getList().getItem("");
            } catch (Exception e1) {
                return null;
            }
        }
    }
168840
public Element getFormerModelGroupParent() {

        Element result = null;
        Element parent = getElement().getParentElement();
        while (parent != null) {
            if (parent.getPropertyBoolean(CmsContainerPageElementPanel.PROP_WAS_MODEL_GROUP)) {
                result = parent;
                break;
            }
            parent = parent.getParentElement();
        }
        return result;
    }
1292902
public MainToolbarPanel getMainToolbarPanel() {
		if (mainToolbarPanel == null) {
			mainToolbarPanel = new MainToolbarPanel();

			mainToolbarPanel.addButton(getShowAllTabsButton());
			mainToolbarPanel.addButton(getHideAllTabsButton());
			mainToolbarPanel.addButton(getShowTabIconNamesButton());
			mainToolbarPanel.addSeparator();

			ButtonGroup layoutsButtonGroup = new ButtonGroup();
			mainToolbarPanel.addButton(getExpandSelectLayoutButton());
			layoutsButtonGroup.add(getExpandSelectLayoutButton());
			mainToolbarPanel.addButton(getExpandStatusLayoutButton());
			layoutsButtonGroup.add(getExpandStatusLayoutButton());
			mainToolbarPanel.addButton(getFullLayoutButton());
			layoutsButtonGroup.add(getFullLayoutButton());
			mainToolbarPanel.addSeparator();

			ButtonGroup responsePanelPositionsButtonGroup = new ButtonGroup();
			mainToolbarPanel.addButton(getTabsResponsePanelPositionButton());
			responsePanelPositionsButtonGroup.add(getTabsResponsePanelPositionButton());
			mainToolbarPanel.addButton(getTabSideBySideResponsePanelPositionButton());
			responsePanelPositionsButtonGroup.add(getTabSideBySideResponsePanelPositionButton());
			mainToolbarPanel.addButton(getPanelsResponsePanelPositionButton());
			responsePanelPositionsButtonGroup.add(getPanelsResponsePanelPositionButton());
			mainToolbarPanel.addButton(getAboveResponsePanelPositionButton());
			responsePanelPositionsButtonGroup.add(getAboveResponsePanelPositionButton());
			mainToolbarPanel.addSeparator();
		}
		return mainToolbarPanel;
	}