All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nasdanika.html.model.bootstrap.impl.BootstrapPackageImpl Maven / Gradle / Ivy

There is a newer version: 2024.10.0
Show newest version
/**
 */
package org.nasdanika.html.model.bootstrap.impl;

import java.util.Map;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EValidator;

import org.eclipse.emf.ecore.impl.EPackageImpl;

import org.nasdanika.exec.ExecPackage;
import org.nasdanika.html.bootstrap.Breakpoint;
import org.nasdanika.html.bootstrap.Color;
import org.nasdanika.html.bootstrap.Size;
import org.nasdanika.html.bootstrap.Text.Alignment;
import org.nasdanika.html.bootstrap.Text.Transform;
import org.nasdanika.html.bootstrap.Text.Weight;
import org.nasdanika.html.bootstrap.Theme;
import org.nasdanika.html.model.bootstrap.Accordion;
import org.nasdanika.html.model.bootstrap.ActionGroup;
import org.nasdanika.html.model.bootstrap.ActionGroupItem;
import org.nasdanika.html.model.bootstrap.Alert;
import org.nasdanika.html.model.bootstrap.Appearance;
import org.nasdanika.html.model.bootstrap.Badge;
import org.nasdanika.html.model.bootstrap.BootstrapElement;
import org.nasdanika.html.model.bootstrap.BootstrapFactory;
import org.nasdanika.html.model.bootstrap.BootstrapPackage;
import org.nasdanika.html.model.bootstrap.Border;
import org.nasdanika.html.model.bootstrap.Breadcrumb;
import org.nasdanika.html.model.bootstrap.Button;
import org.nasdanika.html.model.bootstrap.ButtonGroup;
import org.nasdanika.html.model.bootstrap.ButtonToolbar;
import org.nasdanika.html.model.bootstrap.Card;
import org.nasdanika.html.model.bootstrap.Carousel;
import org.nasdanika.html.model.bootstrap.Collapse;
import org.nasdanika.html.model.bootstrap.Column;
import org.nasdanika.html.model.bootstrap.ColumnWidth;
import org.nasdanika.html.model.bootstrap.ContentActionGroupItem;
import org.nasdanika.html.model.bootstrap.Div;
import org.nasdanika.html.model.bootstrap.Dropdown;
import org.nasdanika.html.model.bootstrap.Form;
import org.nasdanika.html.model.bootstrap.FormGroup;
import org.nasdanika.html.model.bootstrap.InputGroup;
import org.nasdanika.html.model.bootstrap.Item;
import org.nasdanika.html.model.bootstrap.LinkActionGroupItem;
import org.nasdanika.html.model.bootstrap.ListGroup;
import org.nasdanika.html.model.bootstrap.Modal;
import org.nasdanika.html.model.bootstrap.Navbar;
import org.nasdanika.html.model.bootstrap.Navs;
import org.nasdanika.html.model.bootstrap.Page;
import org.nasdanika.html.model.bootstrap.Row;
import org.nasdanika.html.model.bootstrap.Slide;
import org.nasdanika.html.model.bootstrap.Spacing;
import org.nasdanika.html.model.bootstrap.Table;
import org.nasdanika.html.model.bootstrap.TableCell;
import org.nasdanika.html.model.bootstrap.TableConfiguration;
import org.nasdanika.html.model.bootstrap.TableHeader;
import org.nasdanika.html.model.bootstrap.TableRow;
import org.nasdanika.html.model.bootstrap.TableRowContainer;
import org.nasdanika.html.model.bootstrap.TableSection;
import org.nasdanika.html.model.bootstrap.Tag;
import org.nasdanika.html.model.bootstrap.Text;
import org.nasdanika.html.model.bootstrap.Tooltip;

import org.nasdanika.html.model.bootstrap.util.BootstrapValidator;

import org.nasdanika.html.model.html.HtmlPackage;
import org.nasdanika.ncore.NcorePackage;

/**
 * 
 * An implementation of the model Package.
 * 
 * @generated
 */
public class BootstrapPackageImpl extends EPackageImpl implements BootstrapPackage {
	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass bootstrapElementEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass pageEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass appearanceEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass appearanceEntryEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass borderEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass spacingEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass textEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass floatEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tagEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass divEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass itemEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass actionGroupItemEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass linkActionGroupItemEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass contentActionGroupItemEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass actionGroupEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass containerEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass rowEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass columnWidthEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass columnEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableRowContainerEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableSectionEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableHeaderEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableConfigurationEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableRowEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tableCellEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass cardEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass alertEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass badgeEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass breadcrumbEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass buttonEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass buttonGroupEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass buttonToolbarEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass dropdownEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass formEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass listGroupEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass navsEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass navbarEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tooltipEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass inputGroupEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass formGroupEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass collapseEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass modalEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass accordionEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass carouselEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass slideEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType themeEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType colorEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType sizeEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType breakpointEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType textAlignmentEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType textTransformEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType textWeightEDataType = null;

	/**
	 * Creates an instance of the model Package, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * 

Note: the correct way to create the package is via the static * factory method {@link #init init()}, which also performs * initialization of the package, or returns the registered package, * if one already exists. * * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#eNS_URI * @see #init() * @generated */ private BootstrapPackageImpl() { super(eNS_URI, BootstrapFactory.eINSTANCE); } /** * * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * *

This method is used to initialize {@link BootstrapPackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static BootstrapPackage init() { if (isInited) return (BootstrapPackage)EPackage.Registry.INSTANCE.getEPackage(BootstrapPackage.eNS_URI); // Obtain or create and register package Object registeredBootstrapPackage = EPackage.Registry.INSTANCE.get(eNS_URI); BootstrapPackageImpl theBootstrapPackage = registeredBootstrapPackage instanceof BootstrapPackageImpl ? (BootstrapPackageImpl)registeredBootstrapPackage : new BootstrapPackageImpl(); isInited = true; // Initialize simple dependencies HtmlPackage.eINSTANCE.eClass(); ExecPackage.eINSTANCE.eClass(); NcorePackage.eINSTANCE.eClass(); // Create package meta-data objects theBootstrapPackage.createPackageContents(); // Initialize created meta-data theBootstrapPackage.initializePackageContents(); // Register package validator EValidator.Registry.INSTANCE.put (theBootstrapPackage, new EValidator.Descriptor() { @Override public EValidator getEValidator() { return BootstrapValidator.INSTANCE; } }); // Mark meta-data to indicate it can't be changed theBootstrapPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(BootstrapPackage.eNS_URI, theBootstrapPackage); return theBootstrapPackage; } /** * * * @generated */ @Override public EClass getBootstrapElement() { return bootstrapElementEClass; } /** * * * @generated */ @Override public EReference getBootstrapElement_Appearance() { return (EReference)bootstrapElementEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getPage() { return pageEClass; } /** * * * @generated */ @Override public EAttribute getPage_Cdn() { return (EAttribute)pageEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getPage_Theme() { return (EAttribute)pageEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getAppearance() { return appearanceEClass; } /** * * * @generated */ @Override public EAttribute getAppearance_Background() { return (EAttribute)appearanceEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getAppearance_Attributes() { return (EReference)appearanceEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getAppearance_Border() { return (EReference)appearanceEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EReference getAppearance_Margin() { return (EReference)appearanceEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EReference getAppearance_Padding() { return (EReference)appearanceEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EReference getAppearance_Text() { return (EReference)appearanceEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EReference getAppearance_Float() { return (EReference)appearanceEClass.getEStructuralFeatures().get(6); } /** * * * @generated */ @Override public EReference getAppearance_Children() { return (EReference)appearanceEClass.getEStructuralFeatures().get(7); } /** * * * @generated */ @Override public EOperation getAppearance__EffectiveAppearance__String() { return appearanceEClass.getEOperations().get(0); } /** * * * @generated */ @Override public EClass getAppearanceEntry() { return appearanceEntryEClass; } /** * * * @generated */ @Override public EAttribute getAppearanceEntry_Key() { return (EAttribute)appearanceEntryEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getAppearanceEntry_Value() { return (EReference)appearanceEntryEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getBorder() { return borderEClass; } /** * * * @generated */ @Override public EAttribute getBorder_Color() { return (EAttribute)borderEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getBorder_Top() { return (EAttribute)borderEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getBorder_Bottom() { return (EAttribute)borderEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getBorder_Left() { return (EAttribute)borderEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getBorder_Right() { return (EAttribute)borderEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EClass getSpacing() { return spacingEClass; } /** * * * @generated */ @Override public EAttribute getSpacing_Size() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getSpacing_Breakpoint() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getSpacing_Top() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getSpacing_Bottom() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getSpacing_Left() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getSpacing_Right() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EAttribute getSpacing_X() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(6); } /** * * * @generated */ @Override public EAttribute getSpacing_Y() { return (EAttribute)spacingEClass.getEStructuralFeatures().get(7); } /** * * * @generated */ @Override public EClass getText() { return textEClass; } /** * * * @generated */ @Override public EAttribute getText_Alignment() { return (EAttribute)textEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getText_Color() { return (EAttribute)textEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getText_Transform() { return (EAttribute)textEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getText_Weight() { return (EAttribute)textEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getText_Monospace() { return (EAttribute)textEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getText_Italic() { return (EAttribute)textEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EAttribute getText_Nowrap() { return (EAttribute)textEClass.getEStructuralFeatures().get(6); } /** * * * @generated */ @Override public EAttribute getText_Truncate() { return (EAttribute)textEClass.getEStructuralFeatures().get(7); } /** * * * @generated */ @Override public EClass getFloat() { return floatEClass; } /** * * * @generated */ @Override public EAttribute getFloat_Side() { return (EAttribute)floatEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getFloat_Breakpoint() { return (EAttribute)floatEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getTag() { return tagEClass; } /** * * * @generated */ @Override public EClass getDiv() { return divEClass; } /** * * * @generated */ @Override public EClass getItem() { return itemEClass; } /** * * * @generated */ @Override public EAttribute getItem_Active() { return (EAttribute)itemEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getItem_Disabled() { return (EAttribute)itemEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getItem_Color() { return (EAttribute)itemEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EClass getActionGroupItem() { return actionGroupItemEClass; } /** * * * @generated */ @Override public EReference getActionGroupItem_Name() { return (EReference)actionGroupItemEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getLinkActionGroupItem() { return linkActionGroupItemEClass; } /** * * * @generated */ @Override public EAttribute getLinkActionGroupItem_Url() { return (EAttribute)linkActionGroupItemEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getContentActionGroupItem() { return contentActionGroupItemEClass; } /** * * * @generated */ @Override public EReference getContentActionGroupItem_Content() { return (EReference)contentActionGroupItemEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getActionGroup() { return actionGroupEClass; } /** * * * @generated */ @Override public EAttribute getActionGroup_Flush() { return (EAttribute)actionGroupEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getActionGroup_Items() { return (EReference)actionGroupEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getContainer() { return containerEClass; } /** * * * @generated */ @Override public EReference getContainer_Rows() { return (EReference)containerEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getContainer_Fluid() { return (EAttribute)containerEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getRow() { return rowEClass; } /** * * * @generated */ @Override public EReference getRow_Columns() { return (EReference)rowEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getColumnWidth() { return columnWidthEClass; } /** * * * @generated */ @Override public EAttribute getColumnWidth_Breakpoint() { return (EAttribute)columnWidthEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getColumnWidth_Width() { return (EAttribute)columnWidthEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getColumn() { return columnEClass; } /** * * * @generated */ @Override public EReference getColumn_Width() { return (EReference)columnEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getTableRowContainer() { return tableRowContainerEClass; } /** * * * @generated */ @Override public EReference getTableRowContainer_Rows() { return (EReference)tableRowContainerEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getTableSection() { return tableSectionEClass; } /** * * * @generated */ @Override public EClass getTableHeader() { return tableHeaderEClass; } /** * * * @generated */ @Override public EAttribute getTableHeader_Dark() { return (EAttribute)tableHeaderEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getTableHeader_Light() { return (EAttribute)tableHeaderEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getTableConfiguration() { return tableConfigurationEClass; } /** * * * @generated */ @Override public EAttribute getTableConfiguration_Dark() { return (EAttribute)tableConfigurationEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getTableConfiguration_Striped() { return (EAttribute)tableConfigurationEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getTableConfiguration_Bordered() { return (EAttribute)tableConfigurationEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getTableConfiguration_Borderless() { return (EAttribute)tableConfigurationEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getTableConfiguration_Hover() { return (EAttribute)tableConfigurationEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getTableConfiguration_Small() { return (EAttribute)tableConfigurationEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EClass getTable() { return tableEClass; } /** * * * @generated */ @Override public EReference getTable_Header() { return (EReference)tableEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getTable_Body() { return (EReference)tableEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getTable_Footer() { return (EReference)tableEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EClass getTableRow() { return tableRowEClass; } /** * * * @generated */ @Override public EReference getTableRow_Cells() { return (EReference)tableRowEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getTableRow_Color() { return (EAttribute)tableRowEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getTableRow_Background() { return (EAttribute)tableRowEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EClass getTableCell() { return tableCellEClass; } /** * * * @generated */ @Override public EAttribute getTableCell_Header() { return (EAttribute)tableCellEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getTableCell_ColSpan() { return (EAttribute)tableCellEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getTableCell_RowSpan() { return (EAttribute)tableCellEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getTableCell_Color() { return (EAttribute)tableCellEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getTableCell_Background() { return (EAttribute)tableCellEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EClass getCard() { return cardEClass; } /** * * * @generated */ @Override public EReference getCard_Header() { return (EReference)cardEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getCard_Body() { return (EReference)cardEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getCard_Footer() { return (EReference)cardEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EClass getAlert() { return alertEClass; } /** * * * @generated */ @Override public EAttribute getAlert_Color() { return (EAttribute)alertEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getBadge() { return badgeEClass; } /** * * * @generated */ @Override public EAttribute getBadge_Color() { return (EAttribute)badgeEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getBreadcrumb() { return breadcrumbEClass; } /** * * * @generated */ @Override public EClass getButton() { return buttonEClass; } /** * * * @generated */ @Override public EAttribute getButton_Color() { return (EAttribute)buttonEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getButton_Outline() { return (EAttribute)buttonEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getButtonGroup() { return buttonGroupEClass; } /** * * * @generated */ @Override public EClass getButtonToolbar() { return buttonToolbarEClass; } /** * * * @generated */ @Override public EClass getDropdown() { return dropdownEClass; } /** * * * @generated */ @Override public EClass getForm() { return formEClass; } /** * * * @generated */ @Override public EClass getListGroup() { return listGroupEClass; } /** * * * @generated */ @Override public EClass getNavs() { return navsEClass; } /** * * * @generated */ @Override public EClass getNavbar() { return navbarEClass; } /** * * * @generated */ @Override public EClass getTooltip() { return tooltipEClass; } /** * * * @generated */ @Override public EClass getInputGroup() { return inputGroupEClass; } /** * * * @generated */ @Override public EClass getFormGroup() { return formGroupEClass; } /** * * * @generated */ @Override public EClass getCollapse() { return collapseEClass; } /** * * * @generated */ @Override public EClass getModal() { return modalEClass; } /** * * * @generated */ @Override public EReference getModal_Header() { return (EReference)modalEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getModal_Body() { return (EReference)modalEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getModal_Footer() { return (EReference)modalEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getModal_Dismisser() { return (EAttribute)modalEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getModal_Scrollable() { return (EAttribute)modalEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getModal_Centered() { return (EAttribute)modalEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EAttribute getModal_Size() { return (EAttribute)modalEClass.getEStructuralFeatures().get(6); } /** * * * @generated */ @Override public EClass getAccordion() { return accordionEClass; } /** * * * @generated */ @Override public EClass getCarousel() { return carouselEClass; } /** * * * @generated */ @Override public EReference getCarousel_Slides() { return (EReference)carouselEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getCarousel_Controls() { return (EAttribute)carouselEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getCarousel_Indicator() { return (EAttribute)carouselEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getCarousel_CrossFade() { return (EAttribute)carouselEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getCarousel_Ride() { return (EAttribute)carouselEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getCarousel_Interval() { return (EAttribute)carouselEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EClass getSlide() { return slideEClass; } /** * * * @generated */ @Override public EAttribute getSlide_Interval() { return (EAttribute)slideEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getSlide_Captions() { return (EReference)slideEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EDataType getTheme() { return themeEDataType; } /** * * * @generated */ @Override public EDataType getColor() { return colorEDataType; } /** * * * @generated */ @Override public EDataType getSize() { return sizeEDataType; } /** * * * @generated */ @Override public EDataType getBreakpoint() { return breakpointEDataType; } /** * * * @generated */ @Override public EDataType getTextAlignment() { return textAlignmentEDataType; } /** * * * @generated */ @Override public EDataType getTextTransform() { return textTransformEDataType; } /** * * * @generated */ @Override public EDataType getTextWeight() { return textWeightEDataType; } /** * * * @generated */ @Override public BootstrapFactory getBootstrapFactory() { return (BootstrapFactory)getEFactoryInstance(); } /** * * * @generated */ private boolean isCreated = false; /** * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * * * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features bootstrapElementEClass = createEClass(BOOTSTRAP_ELEMENT); createEReference(bootstrapElementEClass, BOOTSTRAP_ELEMENT__APPEARANCE); pageEClass = createEClass(PAGE); createEAttribute(pageEClass, PAGE__CDN); createEAttribute(pageEClass, PAGE__THEME); appearanceEClass = createEClass(APPEARANCE); createEAttribute(appearanceEClass, APPEARANCE__BACKGROUND); createEReference(appearanceEClass, APPEARANCE__ATTRIBUTES); createEReference(appearanceEClass, APPEARANCE__BORDER); createEReference(appearanceEClass, APPEARANCE__MARGIN); createEReference(appearanceEClass, APPEARANCE__PADDING); createEReference(appearanceEClass, APPEARANCE__TEXT); createEReference(appearanceEClass, APPEARANCE__FLOAT); createEReference(appearanceEClass, APPEARANCE__CHILDREN); createEOperation(appearanceEClass, APPEARANCE___EFFECTIVE_APPEARANCE__STRING); appearanceEntryEClass = createEClass(APPEARANCE_ENTRY); createEAttribute(appearanceEntryEClass, APPEARANCE_ENTRY__KEY); createEReference(appearanceEntryEClass, APPEARANCE_ENTRY__VALUE); borderEClass = createEClass(BORDER); createEAttribute(borderEClass, BORDER__COLOR); createEAttribute(borderEClass, BORDER__TOP); createEAttribute(borderEClass, BORDER__BOTTOM); createEAttribute(borderEClass, BORDER__LEFT); createEAttribute(borderEClass, BORDER__RIGHT); spacingEClass = createEClass(SPACING); createEAttribute(spacingEClass, SPACING__SIZE); createEAttribute(spacingEClass, SPACING__BREAKPOINT); createEAttribute(spacingEClass, SPACING__TOP); createEAttribute(spacingEClass, SPACING__BOTTOM); createEAttribute(spacingEClass, SPACING__LEFT); createEAttribute(spacingEClass, SPACING__RIGHT); createEAttribute(spacingEClass, SPACING__X); createEAttribute(spacingEClass, SPACING__Y); textEClass = createEClass(TEXT); createEAttribute(textEClass, TEXT__ALIGNMENT); createEAttribute(textEClass, TEXT__COLOR); createEAttribute(textEClass, TEXT__TRANSFORM); createEAttribute(textEClass, TEXT__WEIGHT); createEAttribute(textEClass, TEXT__MONOSPACE); createEAttribute(textEClass, TEXT__ITALIC); createEAttribute(textEClass, TEXT__NOWRAP); createEAttribute(textEClass, TEXT__TRUNCATE); floatEClass = createEClass(FLOAT); createEAttribute(floatEClass, FLOAT__SIDE); createEAttribute(floatEClass, FLOAT__BREAKPOINT); tagEClass = createEClass(TAG); modalEClass = createEClass(MODAL); createEReference(modalEClass, MODAL__HEADER); createEReference(modalEClass, MODAL__BODY); createEReference(modalEClass, MODAL__FOOTER); createEAttribute(modalEClass, MODAL__DISMISSER); createEAttribute(modalEClass, MODAL__SCROLLABLE); createEAttribute(modalEClass, MODAL__CENTERED); createEAttribute(modalEClass, MODAL__SIZE); divEClass = createEClass(DIV); itemEClass = createEClass(ITEM); createEAttribute(itemEClass, ITEM__ACTIVE); createEAttribute(itemEClass, ITEM__DISABLED); createEAttribute(itemEClass, ITEM__COLOR); actionGroupItemEClass = createEClass(ACTION_GROUP_ITEM); createEReference(actionGroupItemEClass, ACTION_GROUP_ITEM__NAME); linkActionGroupItemEClass = createEClass(LINK_ACTION_GROUP_ITEM); createEAttribute(linkActionGroupItemEClass, LINK_ACTION_GROUP_ITEM__URL); contentActionGroupItemEClass = createEClass(CONTENT_ACTION_GROUP_ITEM); createEReference(contentActionGroupItemEClass, CONTENT_ACTION_GROUP_ITEM__CONTENT); actionGroupEClass = createEClass(ACTION_GROUP); createEAttribute(actionGroupEClass, ACTION_GROUP__FLUSH); createEReference(actionGroupEClass, ACTION_GROUP__ITEMS); containerEClass = createEClass(CONTAINER); createEReference(containerEClass, CONTAINER__ROWS); createEAttribute(containerEClass, CONTAINER__FLUID); rowEClass = createEClass(ROW); createEReference(rowEClass, ROW__COLUMNS); columnWidthEClass = createEClass(COLUMN_WIDTH); createEAttribute(columnWidthEClass, COLUMN_WIDTH__BREAKPOINT); createEAttribute(columnWidthEClass, COLUMN_WIDTH__WIDTH); columnEClass = createEClass(COLUMN); createEReference(columnEClass, COLUMN__WIDTH); tableRowContainerEClass = createEClass(TABLE_ROW_CONTAINER); createEReference(tableRowContainerEClass, TABLE_ROW_CONTAINER__ROWS); tableSectionEClass = createEClass(TABLE_SECTION); tableHeaderEClass = createEClass(TABLE_HEADER); createEAttribute(tableHeaderEClass, TABLE_HEADER__DARK); createEAttribute(tableHeaderEClass, TABLE_HEADER__LIGHT); tableConfigurationEClass = createEClass(TABLE_CONFIGURATION); createEAttribute(tableConfigurationEClass, TABLE_CONFIGURATION__DARK); createEAttribute(tableConfigurationEClass, TABLE_CONFIGURATION__STRIPED); createEAttribute(tableConfigurationEClass, TABLE_CONFIGURATION__BORDERED); createEAttribute(tableConfigurationEClass, TABLE_CONFIGURATION__BORDERLESS); createEAttribute(tableConfigurationEClass, TABLE_CONFIGURATION__HOVER); createEAttribute(tableConfigurationEClass, TABLE_CONFIGURATION__SMALL); tableEClass = createEClass(TABLE); createEReference(tableEClass, TABLE__HEADER); createEReference(tableEClass, TABLE__BODY); createEReference(tableEClass, TABLE__FOOTER); tableRowEClass = createEClass(TABLE_ROW); createEReference(tableRowEClass, TABLE_ROW__CELLS); createEAttribute(tableRowEClass, TABLE_ROW__COLOR); createEAttribute(tableRowEClass, TABLE_ROW__BACKGROUND); tableCellEClass = createEClass(TABLE_CELL); createEAttribute(tableCellEClass, TABLE_CELL__HEADER); createEAttribute(tableCellEClass, TABLE_CELL__COL_SPAN); createEAttribute(tableCellEClass, TABLE_CELL__ROW_SPAN); createEAttribute(tableCellEClass, TABLE_CELL__COLOR); createEAttribute(tableCellEClass, TABLE_CELL__BACKGROUND); cardEClass = createEClass(CARD); createEReference(cardEClass, CARD__HEADER); createEReference(cardEClass, CARD__BODY); createEReference(cardEClass, CARD__FOOTER); alertEClass = createEClass(ALERT); createEAttribute(alertEClass, ALERT__COLOR); badgeEClass = createEClass(BADGE); createEAttribute(badgeEClass, BADGE__COLOR); breadcrumbEClass = createEClass(BREADCRUMB); buttonEClass = createEClass(BUTTON); createEAttribute(buttonEClass, BUTTON__COLOR); createEAttribute(buttonEClass, BUTTON__OUTLINE); buttonGroupEClass = createEClass(BUTTON_GROUP); buttonToolbarEClass = createEClass(BUTTON_TOOLBAR); dropdownEClass = createEClass(DROPDOWN); formEClass = createEClass(FORM); listGroupEClass = createEClass(LIST_GROUP); navsEClass = createEClass(NAVS); navbarEClass = createEClass(NAVBAR); tooltipEClass = createEClass(TOOLTIP); inputGroupEClass = createEClass(INPUT_GROUP); formGroupEClass = createEClass(FORM_GROUP); collapseEClass = createEClass(COLLAPSE); accordionEClass = createEClass(ACCORDION); carouselEClass = createEClass(CAROUSEL); createEReference(carouselEClass, CAROUSEL__SLIDES); createEAttribute(carouselEClass, CAROUSEL__CONTROLS); createEAttribute(carouselEClass, CAROUSEL__INDICATOR); createEAttribute(carouselEClass, CAROUSEL__CROSS_FADE); createEAttribute(carouselEClass, CAROUSEL__RIDE); createEAttribute(carouselEClass, CAROUSEL__INTERVAL); slideEClass = createEClass(SLIDE); createEAttribute(slideEClass, SLIDE__INTERVAL); createEReference(slideEClass, SLIDE__CAPTIONS); // Create data types themeEDataType = createEDataType(THEME); colorEDataType = createEDataType(COLOR); sizeEDataType = createEDataType(SIZE); breakpointEDataType = createEDataType(BREAKPOINT); textAlignmentEDataType = createEDataType(TEXT_ALIGNMENT); textTransformEDataType = createEDataType(TEXT_TRANSFORM); textWeightEDataType = createEDataType(TEXT_WEIGHT); } /** * * * @generated */ private boolean isInitialized = false; /** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * * * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages HtmlPackage theHtmlPackage = (HtmlPackage)EPackage.Registry.INSTANCE.getEPackage(HtmlPackage.eNS_URI); ExecPackage theExecPackage = (ExecPackage)EPackage.Registry.INSTANCE.getEPackage(ExecPackage.eNS_URI); NcorePackage theNcorePackage = (NcorePackage)EPackage.Registry.INSTANCE.getEPackage(NcorePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes bootstrapElementEClass.getESuperTypes().add(theHtmlPackage.getHtmlElement()); pageEClass.getESuperTypes().add(theHtmlPackage.getPage()); tagEClass.getESuperTypes().add(theHtmlPackage.getTag()); tagEClass.getESuperTypes().add(this.getBootstrapElement()); modalEClass.getESuperTypes().add(this.getBootstrapElement()); divEClass.getESuperTypes().add(this.getTag()); itemEClass.getESuperTypes().add(theNcorePackage.getModelElement()); actionGroupItemEClass.getESuperTypes().add(this.getItem()); linkActionGroupItemEClass.getESuperTypes().add(this.getActionGroupItem()); contentActionGroupItemEClass.getESuperTypes().add(this.getActionGroupItem()); actionGroupEClass.getESuperTypes().add(this.getDiv()); containerEClass.getESuperTypes().add(this.getBootstrapElement()); rowEClass.getESuperTypes().add(this.getBootstrapElement()); columnEClass.getESuperTypes().add(this.getBootstrapElement()); tableRowContainerEClass.getESuperTypes().add(this.getBootstrapElement()); tableSectionEClass.getESuperTypes().add(this.getTableRowContainer()); tableHeaderEClass.getESuperTypes().add(this.getTableSection()); tableEClass.getESuperTypes().add(this.getTableRowContainer()); tableEClass.getESuperTypes().add(this.getTableConfiguration()); tableRowEClass.getESuperTypes().add(this.getBootstrapElement()); tableCellEClass.getESuperTypes().add(this.getBootstrapElement()); cardEClass.getESuperTypes().add(this.getDiv()); alertEClass.getESuperTypes().add(this.getDiv()); badgeEClass.getESuperTypes().add(this.getDiv()); buttonEClass.getESuperTypes().add(this.getDiv()); carouselEClass.getESuperTypes().add(this.getDiv()); slideEClass.getESuperTypes().add(this.getDiv()); // Initialize classes, features, and operations; add parameters initEClass(bootstrapElementEClass, BootstrapElement.class, "BootstrapElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getBootstrapElement_Appearance(), this.getAppearance(), null, "appearance", null, 0, 1, BootstrapElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(pageEClass, Page.class, "Page", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getPage_Cdn(), ecorePackage.getEBoolean(), "cdn", "true", 0, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getPage_Theme(), this.getTheme(), "theme", null, 0, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(appearanceEClass, Appearance.class, "Appearance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAppearance_Background(), this.getColor(), "background", null, 0, 1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Attributes(), theExecPackage.getProperty(), null, "attributes", null, 0, -1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Border(), this.getBorder(), null, "border", null, 0, 4, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Margin(), this.getSpacing(), null, "margin", null, 0, -1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Padding(), this.getSpacing(), null, "padding", null, 0, -1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Text(), this.getText(), null, "text", null, 0, 1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Float(), this.getFloat(), null, "Float", null, 0, -1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearance_Children(), this.getAppearanceEntry(), null, "children", null, 0, -1, Appearance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); EOperation op = initEOperation(getAppearance__EffectiveAppearance__String(), this.getAppearance(), "effectiveAppearance", 0, 1, IS_UNIQUE, IS_ORDERED); addEParameter(op, ecorePackage.getEString(), "path", 0, 1, IS_UNIQUE, IS_ORDERED); initEClass(appearanceEntryEClass, Map.Entry.class, "AppearanceEntry", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAppearanceEntry_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAppearanceEntry_Value(), this.getAppearance(), null, "value", null, 1, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(borderEClass, Border.class, "Border", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getBorder_Color(), this.getColor(), "color", null, 1, 1, Border.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBorder_Top(), ecorePackage.getEBoolean(), "top", "false", 0, 1, Border.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBorder_Bottom(), ecorePackage.getEBoolean(), "bottom", "false", 0, 1, Border.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBorder_Left(), ecorePackage.getEBoolean(), "left", "false", 0, 1, Border.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBorder_Right(), ecorePackage.getEBoolean(), "right", "false", 0, 1, Border.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(spacingEClass, Spacing.class, "Spacing", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSpacing_Size(), this.getSize(), "size", null, 1, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_Breakpoint(), this.getBreakpoint(), "breakpoint", null, 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_Top(), ecorePackage.getEBoolean(), "top", "false", 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_Bottom(), ecorePackage.getEBoolean(), "bottom", "false", 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_Left(), ecorePackage.getEBoolean(), "left", "false", 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_Right(), ecorePackage.getEBoolean(), "right", "false", 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_X(), ecorePackage.getEBoolean(), "x", "false", 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSpacing_Y(), ecorePackage.getEBoolean(), "y", "false", 0, 1, Spacing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(textEClass, Text.class, "Text", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getText_Alignment(), this.getTextAlignment(), "alignment", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Color(), this.getColor(), "color", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Transform(), this.getTextTransform(), "transform", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Weight(), this.getTextWeight(), "weight", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Monospace(), ecorePackage.getEBoolean(), "monospace", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Italic(), ecorePackage.getEBoolean(), "italic", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Nowrap(), ecorePackage.getEBoolean(), "nowrap", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getText_Truncate(), ecorePackage.getEBoolean(), "truncate", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(floatEClass, org.nasdanika.html.model.bootstrap.Float.class, "Float", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getFloat_Side(), ecorePackage.getEString(), "side", null, 1, 1, org.nasdanika.html.model.bootstrap.Float.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFloat_Breakpoint(), this.getBreakpoint(), "breakpoint", null, 0, 1, org.nasdanika.html.model.bootstrap.Float.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tagEClass, Tag.class, "Tag", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(modalEClass, Modal.class, "Modal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getModal_Header(), this.getBootstrapElement(), null, "header", null, 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModal_Body(), this.getBootstrapElement(), null, "body", null, 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModal_Footer(), this.getBootstrapElement(), null, "footer", null, 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getModal_Dismisser(), ecorePackage.getEBoolean(), "dismisser", "true", 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getModal_Scrollable(), ecorePackage.getEBoolean(), "scrollable", null, 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getModal_Centered(), ecorePackage.getEBoolean(), "centered", null, 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getModal_Size(), ecorePackage.getEString(), "size", "", 0, 1, Modal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(divEClass, Div.class, "Div", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(itemEClass, Item.class, "Item", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getItem_Active(), ecorePackage.getEBoolean(), "active", null, 0, 1, Item.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getItem_Disabled(), ecorePackage.getEBoolean(), "disabled", null, 0, 1, Item.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getItem_Color(), this.getColor(), "color", null, 0, 1, Item.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(actionGroupItemEClass, ActionGroupItem.class, "ActionGroupItem", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getActionGroupItem_Name(), ecorePackage.getEObject(), null, "name", null, 0, -1, ActionGroupItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(linkActionGroupItemEClass, LinkActionGroupItem.class, "LinkActionGroupItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getLinkActionGroupItem_Url(), ecorePackage.getEString(), "url", null, 1, 1, LinkActionGroupItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(contentActionGroupItemEClass, ContentActionGroupItem.class, "ContentActionGroupItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getContentActionGroupItem_Content(), ecorePackage.getEObject(), null, "content", null, 0, -1, ContentActionGroupItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(actionGroupEClass, ActionGroup.class, "ActionGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getActionGroup_Flush(), ecorePackage.getEBoolean(), "flush", null, 0, 1, ActionGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getActionGroup_Items(), this.getActionGroupItem(), null, "items", null, 0, -1, ActionGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(containerEClass, org.nasdanika.html.model.bootstrap.Container.class, "Container", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getContainer_Rows(), this.getRow(), null, "rows", null, 0, -1, org.nasdanika.html.model.bootstrap.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getContainer_Fluid(), ecorePackage.getEBoolean(), "fluid", null, 0, 1, org.nasdanika.html.model.bootstrap.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(rowEClass, Row.class, "Row", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getRow_Columns(), this.getColumn(), null, "columns", null, 0, -1, Row.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(columnWidthEClass, ColumnWidth.class, "ColumnWidth", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getColumnWidth_Breakpoint(), ecorePackage.getEString(), "breakpoint", null, 0, 1, ColumnWidth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getColumnWidth_Width(), ecorePackage.getEString(), "width", null, 0, 1, ColumnWidth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(columnEClass, Column.class, "Column", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getColumn_Width(), this.getColumnWidth(), null, "width", null, 0, -1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tableRowContainerEClass, TableRowContainer.class, "TableRowContainer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getTableRowContainer_Rows(), this.getTableRow(), null, "rows", null, 0, -1, TableRowContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tableSectionEClass, TableSection.class, "TableSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(tableHeaderEClass, TableHeader.class, "TableHeader", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTableHeader_Dark(), ecorePackage.getEBoolean(), "dark", null, 0, 1, TableHeader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableHeader_Light(), ecorePackage.getEBoolean(), "light", null, 0, 1, TableHeader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tableConfigurationEClass, TableConfiguration.class, "TableConfiguration", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTableConfiguration_Dark(), ecorePackage.getEBoolean(), "dark", null, 0, 1, TableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableConfiguration_Striped(), ecorePackage.getEBoolean(), "striped", null, 0, 1, TableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableConfiguration_Bordered(), ecorePackage.getEBoolean(), "bordered", null, 0, 1, TableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableConfiguration_Borderless(), ecorePackage.getEBoolean(), "borderless", null, 0, 1, TableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableConfiguration_Hover(), ecorePackage.getEBoolean(), "hover", null, 0, 1, TableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableConfiguration_Small(), ecorePackage.getEBoolean(), "small", null, 0, 1, TableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tableEClass, Table.class, "Table", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getTable_Header(), this.getTableHeader(), null, "header", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getTable_Body(), this.getTableSection(), null, "body", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getTable_Footer(), this.getTableSection(), null, "footer", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tableRowEClass, TableRow.class, "TableRow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getTableRow_Cells(), this.getTableCell(), null, "cells", null, 0, -1, TableRow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableRow_Color(), this.getColor(), "color", null, 0, 1, TableRow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableRow_Background(), this.getColor(), "background", null, 0, 1, TableRow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tableCellEClass, TableCell.class, "TableCell", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTableCell_Header(), ecorePackage.getEBoolean(), "header", null, 0, 1, TableCell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableCell_ColSpan(), ecorePackage.getEInt(), "colSpan", null, 0, 1, TableCell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableCell_RowSpan(), ecorePackage.getEInt(), "rowSpan", null, 0, 1, TableCell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableCell_Color(), this.getColor(), "color", null, 0, 1, TableCell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTableCell_Background(), this.getColor(), "background", null, 0, 1, TableCell.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(cardEClass, Card.class, "Card", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getCard_Header(), this.getBootstrapElement(), null, "header", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCard_Body(), this.getBootstrapElement(), null, "body", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCard_Footer(), this.getBootstrapElement(), null, "footer", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(alertEClass, Alert.class, "Alert", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAlert_Color(), this.getColor(), "color", null, 0, 1, Alert.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(badgeEClass, Badge.class, "Badge", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getBadge_Color(), this.getColor(), "color", null, 0, 1, Badge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(breadcrumbEClass, Breadcrumb.class, "Breadcrumb", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(buttonEClass, Button.class, "Button", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getButton_Color(), this.getColor(), "color", null, 0, 1, Button.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getButton_Outline(), ecorePackage.getEBoolean(), "outline", null, 0, 1, Button.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(buttonGroupEClass, ButtonGroup.class, "ButtonGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(buttonToolbarEClass, ButtonToolbar.class, "ButtonToolbar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(dropdownEClass, Dropdown.class, "Dropdown", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(formEClass, Form.class, "Form", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(listGroupEClass, ListGroup.class, "ListGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(navsEClass, Navs.class, "Navs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(navbarEClass, Navbar.class, "Navbar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(tooltipEClass, Tooltip.class, "Tooltip", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(inputGroupEClass, InputGroup.class, "InputGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(formGroupEClass, FormGroup.class, "FormGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(collapseEClass, Collapse.class, "Collapse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(accordionEClass, Accordion.class, "Accordion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(carouselEClass, Carousel.class, "Carousel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getCarousel_Slides(), this.getSlide(), null, "slides", null, 0, -1, Carousel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCarousel_Controls(), ecorePackage.getEBoolean(), "controls", null, 0, 1, Carousel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCarousel_Indicator(), ecorePackage.getEBoolean(), "indicator", null, 0, 1, Carousel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCarousel_CrossFade(), ecorePackage.getEBoolean(), "crossFade", null, 0, 1, Carousel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCarousel_Ride(), ecorePackage.getEBoolean(), "ride", "true", 0, 1, Carousel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCarousel_Interval(), ecorePackage.getEString(), "interval", null, 0, 1, Carousel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(slideEClass, Slide.class, "Slide", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSlide_Interval(), ecorePackage.getEIntegerObject(), "interval", null, 0, 1, Slide.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSlide_Captions(), ecorePackage.getEObject(), null, "captions", null, 0, -1, Slide.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize data types initEDataType(themeEDataType, Theme.class, "Theme", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(colorEDataType, Color.class, "Color", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(sizeEDataType, Size.class, "Size", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(breakpointEDataType, Breakpoint.class, "Breakpoint", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(textAlignmentEDataType, Alignment.class, "TextAlignment", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(textTransformEDataType, Transform.class, "TextTransform", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(textWeightEDataType, Weight.class, "TextWeight", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http://www.eclipse.org/emf/2002/GenModel createGenModelAnnotations(); // urn:org.nasdanika createUrnorgAnnotations(); // http://www.eclipse.org/emf/2002/Ecore createEcoreAnnotations(); } /** * Initializes the annotations for http://www.eclipse.org/emf/2002/GenModel. * * * @generated */ protected void createGenModelAnnotations() { String source = "http://www.eclipse.org/emf/2002/GenModel"; addAnnotation (this, source, new String[] { "documentation", "Model of Bootstrap elements." }); addAnnotation (bootstrapElementEClass, source, new String[] { "documentation", "An HTML element with Bootstrap appearance." }); addAnnotation (getBootstrapElement_Appearance(), source, new String[] { "documentation", "Customizes appearance of Bootstrap element." }); addAnnotation (pageEClass, source, new String[] { "documentation", "HTML page with bootstrap elements in the head - meta, stylesheets, and scripts.\n\n[Overview video](https://www.youtube.com/watch?v=Q6u6hL10xXA) in Russian." }); addAnnotation (getPage_Cdn(), source, new String[] { "documentation", "If this attribute is true (default) then a generated page contains stylesheet and script elements pointing to Bootstrap CDN (Content Delivery Network)." }); addAnnotation (getPage_Theme(), source, new String[] { "documentation", "Bootstrap [theme](https://www.nasdanika.org/master/products/html/apidocs/org.nasdanika.html.bootstrap/apidocs/org/nasdanika/html/bootstrap/Theme.html). This attribute is applicable only if CDN is set to true. In this case Bootstrap stylesheets added to the page point to a specific theme." }); addAnnotation (appearanceEClass, source, new String[] { "documentation", "This class is used for configuring common aspects of HTML and Bootstrap elements such as background, spacing, text, etc." }); addAnnotation (getAppearance_Background(), source, new String[] { "documentation", "Bootstrap color for background." }); addAnnotation (getAppearance_Attributes(), source, new String[] { "documentation", "HTML element (tag) attributes. Attributes defined at the appearance level overwrite attributes defined at the HTML element level. \nIt is recommended to use one of the other.\n\n## Interpolation\n\nAttribute values are interpolated, i.e. tokens in the form of ``${token name[|default value]}`` are replaced with the contextual values or default values, if any. Examples:\n\n* ``${my-style}`` - Token without a default value.\n* ``${font-weight|bold}`` - Token with a default value.\n\n## Regular attributes\n\nFor all top-level entries except ``class``, ``style``, and ``data`` attribute value is produced by converting the value to string for scalars and to JSON string for lists and maps. \nFor attributes which do not start with ``data-`` a warning is issued if the value is not a scalar, i.e. a list or a map.\n\n## Class\n\nFor class attribute its value is formed by concantenating elements using space as a separator. If elements are hierarchical then class name is formed by concatenation with a dash (``-``) as a separator.\n\n## Data\n\nIf value of ``data`` attbibute is a map then keys of that map get concatenated with ``data`` using dash (``-``) as a separator, them same applies to nested maps. Non-map values become attribute values - scalars are converted to string, lists are converted to JSON string.\n\n## Style\n\nStyle can be defined as a string, list or map. If style is defined as a list, all list values are concatenated with a space as a separator - it is a convent way for long unstructured definitions.\n\nIf style value is a map then the value and its contained map values are processed in the following fashion:\n\n* Keys are concatenated with dash as a separator.\n* List values are contcatenated wtih space as a separator.\n" }); addAnnotation (getAppearance_Border(), source, new String[] { "documentation", "Border configuration." }); addAnnotation (getAppearance_Margin(), source, new String[] { "documentation", "Margin configuration." }); addAnnotation (getAppearance_Padding(), source, new String[] { "documentation", "Padding configuration." }); addAnnotation (getAppearance_Text(), source, new String[] { "documentation", "Text style" }); addAnnotation (getAppearance_Float(), source, new String[] { "documentation", "Float configuration." }); addAnnotation (borderEClass, source, new String[] { "documentation", "Border configuration specifies border location and color." }); addAnnotation (getBorder_Color(), source, new String[] { "documentation", "Border bootstrap color." }); addAnnotation (getBorder_Top(), source, new String[] { "documentation", "Top border." }); addAnnotation (getBorder_Bottom(), source, new String[] { "documentation", "Bottom border." }); addAnnotation (getBorder_Left(), source, new String[] { "documentation", "Left border." }); addAnnotation (getBorder_Right(), source, new String[] { "documentation", "Righ border." }); addAnnotation (spacingEClass, source, new String[] { "documentation", "Spacing - padding or margin. Specifies size, location, and breakpoint." }); addAnnotation (getSpacing_Size(), source, new String[] { "documentation", "Spacing size - from 0 to 5 or auto." }); addAnnotation (getSpacing_Breakpoint(), source, new String[] { "documentation", "Spacing breakpoint." }); addAnnotation (getSpacing_Top(), source, new String[] { "documentation", "Top spacing." }); addAnnotation (getSpacing_Bottom(), source, new String[] { "documentation", "Bottom spacing." }); addAnnotation (getSpacing_Left(), source, new String[] { "documentation", "Left spacing." }); addAnnotation (getSpacing_Right(), source, new String[] { "documentation", "Righ spacing." }); addAnnotation (getSpacing_X(), source, new String[] { "documentation", "Horizontal spacing." }); addAnnotation (getSpacing_Y(), source, new String[] { "documentation", "Vertical spacing." }); addAnnotation (textEClass, source, new String[] { "documentation", "Text styling." }); addAnnotation (getText_Alignment(), source, new String[] { "documentation", "Text alignment." }); addAnnotation (getText_Color(), source, new String[] { "documentation", "Text bootstrap color." }); addAnnotation (getText_Transform(), source, new String[] { "documentation", "Text case transformation." }); addAnnotation (getText_Weight(), source, new String[] { "documentation", "Text weight." }); addAnnotation (getText_Monospace(), source, new String[] { "documentation", "Monospace flag." }); addAnnotation (getText_Italic(), source, new String[] { "documentation", "Italic flag." }); addAnnotation (getText_Nowrap(), source, new String[] { "documentation", "Prevents text from wrapping." }); addAnnotation (getText_Truncate(), source, new String[] { "documentation", "Use to truncate the text with an ellipsis." }); addAnnotation (floatEClass, source, new String[] { "documentation", "Defines element floating - left or right - for a given breakpoint." }); addAnnotation (getFloat_Side(), source, new String[] { "documentation", "Side to float to. ``left``, ``right``, or ``none``." }); addAnnotation (getFloat_Breakpoint(), source, new String[] { "documentation", "Breakpoint." }); addAnnotation (tagEClass, source, new String[] { "documentation", "HTML tag with Bootstrap appearance" }); addAnnotation (getModal_Header(), source, new String[] { "documentation", "Modal header content and appearance." }); addAnnotation (getModal_Body(), source, new String[] { "documentation", "Modal body content and appearance." }); addAnnotation (getModal_Footer(), source, new String[] { "documentation", "Modal footer content and appearance." }); addAnnotation (getModal_Size(), source, new String[] { "documentation", "Modal size - ``small``, ``large``, or ``extra-large``." }); addAnnotation (divEClass, source, new String[] { "documentation", "HTML DIV with bootstrap styling" }); addAnnotation (itemEClass, source, new String[] { "documentation", "Base class for model elements which can be active, disabled, and have color." }); addAnnotation (getItem_Active(), source, new String[] { "documentation", "Indicates that the item is active (currently selected)." }); addAnnotation (getItem_Disabled(), source, new String[] { "documentation", "Indicates that the item is disabled and cannot be activated/selected." }); addAnnotation (getItem_Color(), source, new String[] { "documentation", "Item Bootstrap color." }); addAnnotation (actionGroupItemEClass, source, new String[] { "documentation", "Base class for action group items" }); addAnnotation (getActionGroupItem_Name(), source, new String[] { "documentation", "Item name" }); addAnnotation (linkActionGroupItemEClass, source, new String[] { "documentation", "Click on the item navigates to the link URL." }); addAnnotation (getLinkActionGroupItem_Url(), source, new String[] { "documentation", "Link URL." }); addAnnotation (contentActionGroupItemEClass, source, new String[] { "documentation", "Action Group Item with content. Click on the item shows the content in the content container." }); addAnnotation (getContentActionGroupItem_Content(), source, new String[] { "documentation", "Container content. \n\nContent elements are adapted to ${javadoc/org.nasdanika.common.SupplierFactory} for generation of HTML content." }); addAnnotation (actionGroupEClass, source, new String[] { "documentation", "[List group](https://getbootstrap.com/docs/4.0/components/list-group/) with actions (links). " }); addAnnotation (getActionGroup_Flush(), source, new String[] { "documentation", "Removes borders to render action group items edge-to-edge in a parent container." }); addAnnotation (getActionGroup_Items(), source, new String[] { "documentation", "Group items." }); addAnnotation (containerEClass, source, new String[] { "documentation", "[Bootstrap layout](https://getbootstrap.com/docs/4.3/layout/overview/) container contains rows which in turn contain columns." }); addAnnotation (getContainer_Rows(), source, new String[] { "documentation", "Container rows." }); addAnnotation (getContainer_Fluid(), source, new String[] { "documentation", "Fluid container spans the entire width of the viewport." }); addAnnotation (rowEClass, source, new String[] { "documentation", "Container rows" }); addAnnotation (getRow_Columns(), source, new String[] { "documentation", "Row columns." }); addAnnotation (columnWidthEClass, source, new String[] { "documentation", "Column width for a given breakpoint." }); addAnnotation (getColumnWidth_Breakpoint(), source, new String[] { "documentation", "Breakpoint." }); addAnnotation (getColumnWidth_Width(), source, new String[] { "documentation", "Column width." }); addAnnotation (columnEClass, source, new String[] { "documentation", "Container row column." }); addAnnotation (getColumn_Width(), source, new String[] { "documentation", "Column widths for different breakpoints." }); addAnnotation (tableRowContainerEClass, source, new String[] { "documentation", "Base class for containers of rows - table, header, body, footer." }); addAnnotation (getTableRowContainer_Rows(), source, new String[] { "documentation", "Table rows." }); addAnnotation (tableSectionEClass, source, new String[] { "documentation", "Table section - body or footer, header has its own class." }); addAnnotation (tableHeaderEClass, source, new String[] { "documentation", "Table header." }); addAnnotation (getTableHeader_Dark(), source, new String[] { "documentation", "Dark header (mutually exclusive with light)." }); addAnnotation (getTableHeader_Light(), source, new String[] { "documentation", "Light header (mutually exclusive with dark)." }); addAnnotation (tableConfigurationEClass, source, new String[] { "documentation", "Configuration of [bootstrap table](https://getbootstrap.com/docs/4.0/content/tables/)" }); addAnnotation (getTableConfiguration_Dark(), source, new String[] { "documentation", "Dark table flag." }); addAnnotation (getTableConfiguration_Striped(), source, new String[] { "documentation", "Striped table flag." }); addAnnotation (getTableConfiguration_Bordered(), source, new String[] { "documentation", "Bordered table flag." }); addAnnotation (getTableConfiguration_Borderless(), source, new String[] { "documentation", "Borderless table flag." }); addAnnotation (getTableConfiguration_Hover(), source, new String[] { "documentation", "If checked, rows change background on mouse pointer hover." }); addAnnotation (getTableConfiguration_Small(), source, new String[] { "documentation", "Small table flag." }); addAnnotation (tableEClass, source, new String[] { "documentation", "[Bootstrap table](https://getbootstrap.com/docs/4.0/content/tables/)" }); addAnnotation (getTable_Header(), source, new String[] { "documentation", "Table header." }); addAnnotation (getTable_Body(), source, new String[] { "documentation", "Table body." }); addAnnotation (getTable_Footer(), source, new String[] { "documentation", "Table footer." }); addAnnotation (tableRowEClass, source, new String[] { "documentation", "Table row." }); addAnnotation (getTableRow_Cells(), source, new String[] { "documentation", "Table row cells." }); addAnnotation (getTableRow_Color(), source, new String[] { "documentation", "Row color." }); addAnnotation (getTableRow_Background(), source, new String[] { "documentation", "Row background color. Displays differently from \"Color\". Can also be specified via appearance." }); addAnnotation (tableCellEClass, source, new String[] { "documentation", "Table cell - regular or header." }); addAnnotation (getTableCell_Header(), source, new String[] { "documentation", "If true, table cell is generated as ```` instead of the default ````." }); addAnnotation (getTableCell_ColSpan(), source, new String[] { "documentation", "Column span for the cell." }); addAnnotation (getTableCell_RowSpan(), source, new String[] { "documentation", "Row span for the cell." }); addAnnotation (getTableCell_Color(), source, new String[] { "documentation", "Cell color." }); addAnnotation (getTableCell_Background(), source, new String[] { "documentation", "Cell background color. Displays differently from \"Color\". Can also be specified via appearance." }); addAnnotation (cardEClass, source, new String[] { "documentation", "Bootstrap [card](https://getbootstrap.com/docs/4.0/components/card/)." }); addAnnotation (getCard_Header(), source, new String[] { "documentation", "Card header." }); addAnnotation (getCard_Body(), source, new String[] { "documentation", "Card body." }); addAnnotation (getCard_Footer(), source, new String[] { "documentation", "Card footer." }); addAnnotation (buttonEClass, source, new String[] { "documentation", "TODO - size - enum? Block, active, disabled." }); } /** * Initializes the annotations for http://www.eclipse.org/emf/2002/Ecore. * * * @generated */ protected void createEcoreAnnotations() { String source = "http://www.eclipse.org/emf/2002/Ecore"; addAnnotation (pageEClass, source, new String[] { "constraints", "theme" }); addAnnotation (appearanceEClass, source, new String[] { "constraints", "border_overlap background attributes" }); addAnnotation (borderEClass, source, new String[] { "constraints", "placement color" }); addAnnotation (spacingEClass, source, new String[] { "constraints", "size breakpoint" }); addAnnotation (textEClass, source, new String[] { "constraints", "attributes" }); addAnnotation (floatEClass, source, new String[] { "constraints", "attributes" }); addAnnotation (itemEClass, source, new String[] { "constraints", "color activeAndDisabled" }); addAnnotation (actionGroupEClass, source, new String[] { }); addAnnotation (columnWidthEClass, source, new String[] { "constraints", "breakpoint width" }); } /** * Initializes the annotations for urn:org.nasdanika. * * * @generated */ protected void createUrnorgAnnotations() { String source = "urn:org.nasdanika"; addAnnotation (getBootstrapElement_Appearance(), source, new String[] { "homogenous", "true", "strict-containment", "true" }); addAnnotation (getAppearance_Border(), source, new String[] { "homogenous", "true", "strict-containment", "true" }); addAnnotation (getAppearance_Margin(), source, new String[] { "homogenous", "true", "strict-containment", "true" }); addAnnotation (getAppearance_Padding(), source, new String[] { "homogenous", "true", "strict-containment", "true" }); addAnnotation (getAppearance_Text(), source, new String[] { "homogenous", "true", "strict-containment", "true" }); addAnnotation (getAppearance_Float(), source, new String[] { "homogenous", "true", "strict-containment", "true", "feature-key", "float" }); addAnnotation (appearanceEntryEClass, source, new String[] { "documentation-reference", "doc/appearance-entry.md" }); addAnnotation (getBorder_Color(), source, new String[] { "default-feature", "true" }); addAnnotation (getSpacing_Size(), source, new String[] { "default-feature", "true" }); addAnnotation (getText_Color(), source, new String[] { "default-feature", "true" }); addAnnotation (getFloat_Side(), source, new String[] { "default-feature", "true" }); addAnnotation (getModal_Header(), source, new String[] { "homogenous", "true" }); addAnnotation (getModal_Body(), source, new String[] { "homogenous", "true" }); addAnnotation (getModal_Footer(), source, new String[] { "homogenous", "true" }); addAnnotation (getTableRowContainer_Rows(), source, new String[] { "homogenous", "true" }); addAnnotation (getTable_Header(), source, new String[] { "homogenous", "true" }); addAnnotation (getTable_Body(), source, new String[] { "homogenous", "true" }); addAnnotation (getTable_Footer(), source, new String[] { "homogenous", "true" }); addAnnotation (getTableRow_Cells(), source, new String[] { "homogenous", "true" }); addAnnotation (getCarousel_Slides(), source, new String[] { "homogenous", "true" }); } } //BootstrapPackageImpl





© 2015 - 2024 Weber Informatics LLC | Privacy Policy