use of com.qcadoo.view.internal.ribbon.model.InternalRibbonActionItem in project qcadoo by qcadoo.
the class TemplateRibbonGroupsPackTest method getInternalRibbonGroup.
private InternalRibbonGroup getInternalRibbonGroup(final String name, final String extensionPluginIdentifier, final List<RibbonActionItem> items) {
InternalRibbonGroup ribbonGroup = new RibbonGroupImpl(name);
ribbonGroup.setExtensionPluginIdentifier(extensionPluginIdentifier);
if (items != null) {
for (RibbonActionItem item : items) {
ribbonGroup.addItem((InternalRibbonActionItem) item);
}
}
return ribbonGroup;
}
Aggregations