code: private void buildGui(RibbonBarInfo barInfo, MapWidget mapWidget) {
  		if (null == barInfo) {
  			throw new IllegalArgumentException("RibbonBarLayout cannot be built without RibbonBarInfo configuration.");
  		}
  		for (RibbonGroupInfo groupInfo : barInfo.getGroups()) {
  			RibbonGroupLayout group = new RibbonGroupLayout(groupInfo.getTitle());
  			for (RibbonColumnInfo columnInfo : groupInfo.getColumns()) {
  				RibbonColumn ribbonColumn = RibbonColumnRegistry.getRibbonColumn(columnInfo.getType(),
  						columnInfo.getTools(), columnInfo.getParameters(), mapWidget);
  				if (ribbonColumn != null) {
  					group.addColumn(ribbonColumn);
  				}
  			}
  			addGroup(group);
  		}
  	}
docs: ------------------------------------------------------------------------