Class BootstrapAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.nasdanika.html.model.bootstrap.util.BootstrapAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
public class BootstrapAdapterFactory extends AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXXmethod for each class of the model.- See Also:
BootstrapPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static BootstrapPackagemodelPackageThe cached model package.protected BootstrapSwitch<Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods.
-
Constructor Summary
Constructors Constructor Description BootstrapAdapterFactory()Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptercreateAccordionAdapter()Creates a new adapter for an object of class 'Accordion'.AdaptercreateActionGroupAdapter()Creates a new adapter for an object of class 'Action Group'.AdaptercreateActionGroupItemAdapter()Creates a new adapter for an object of class 'Action Group Item'.AdaptercreateAdaptableAdapter()Creates a new adapter for an object of class 'Adaptable'.AdaptercreateAdapter(Notifier target)Creates an adapter for thetarget.AdaptercreateAlertAdapter()Creates a new adapter for an object of class 'Alert'.AdaptercreateAppearanceAdapter()Creates a new adapter for an object of class 'Appearance'.AdaptercreateAppearanceEntryAdapter()Creates a new adapter for an object of class 'Appearance Entry'.AdaptercreateBadgeAdapter()Creates a new adapter for an object of class 'Badge'.AdaptercreateBootstrapElementAdapter()Creates a new adapter for an object of class 'Element'.AdaptercreateBorderAdapter()Creates a new adapter for an object of class 'Border'.AdaptercreateBreadcrumbAdapter()Creates a new adapter for an object of class 'Breadcrumb'.AdaptercreateButtonAdapter()Creates a new adapter for an object of class 'Button'.AdaptercreateButtonGroupAdapter()Creates a new adapter for an object of class 'Button Group'.AdaptercreateButtonToolbarAdapter()Creates a new adapter for an object of class 'Button Toolbar'.AdaptercreateCardAdapter()Creates a new adapter for an object of class 'Card'.AdaptercreateCarouselAdapter()Creates a new adapter for an object of class 'Carousel'.AdaptercreateCollapseAdapter()Creates a new adapter for an object of class 'Collapse'.AdaptercreateColumnAdapter()Creates a new adapter for an object of class 'Column'.AdaptercreateColumnWidthAdapter()Creates a new adapter for an object of class 'Column Width'.AdaptercreateContainerAdapter()Creates a new adapter for an object of class 'Container'.AdaptercreateContentActionGroupItemAdapter()Creates a new adapter for an object of class 'Content Action Group Item'.AdaptercreateDivAdapter()Creates a new adapter for an object of class 'Div'.AdaptercreateDropdownAdapter()Creates a new adapter for an object of class 'Dropdown'.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.AdaptercreateFloatAdapter()Creates a new adapter for an object of class 'Float'.AdaptercreateFormAdapter()Creates a new adapter for an object of class 'Form'.AdaptercreateFormGroupAdapter()Creates a new adapter for an object of class 'Form Group'.AdaptercreateHtml_PageAdapter()Creates a new adapter for an object of class 'Page'.AdaptercreateHtml_TagAdapter()Creates a new adapter for an object of class 'Tag'.AdaptercreateHtmlElementAdapter()Creates a new adapter for an object of class 'Element'.AdaptercreateIMarkedAdapter()Creates a new adapter for an object of class 'IMarked'.AdaptercreateInputGroupAdapter()Creates a new adapter for an object of class 'Input Group'.AdaptercreateItemAdapter()Creates a new adapter for an object of class 'Item'.AdaptercreateLinkActionGroupItemAdapter()Creates a new adapter for an object of class 'Link Action Group Item'.AdaptercreateListGroupAdapter()Creates a new adapter for an object of class 'List Group'.AdaptercreateMarkedAdapter()Creates a new adapter for an object of class 'Marked'.AdaptercreateModalAdapter()Creates a new adapter for an object of class 'Modal'.AdaptercreateModelElementAdapter()Creates a new adapter for an object of class 'Model Element'.AdaptercreateNavbarAdapter()Creates a new adapter for an object of class 'Navbar'.AdaptercreateNavsAdapter()Creates a new adapter for an object of class 'Navs'.AdaptercreatePageAdapter()Creates a new adapter for an object of class 'Page'.AdaptercreateRowAdapter()Creates a new adapter for an object of class 'Row'.AdaptercreateSlideAdapter()Creates a new adapter for an object of class 'Slide'.AdaptercreateSpacingAdapter()Creates a new adapter for an object of class 'Spacing'.AdaptercreateTableAdapter()Creates a new adapter for an object of class 'Table'.AdaptercreateTableCellAdapter()Creates a new adapter for an object of class 'Table Cell'.AdaptercreateTableConfigurationAdapter()Creates a new adapter for an object of class 'Table Configuration'.AdaptercreateTableHeaderAdapter()Creates a new adapter for an object of class 'Table Header'.AdaptercreateTableRowAdapter()Creates a new adapter for an object of class 'Table Row'.AdaptercreateTableRowContainerAdapter()Creates a new adapter for an object of class 'Table Row Container'.AdaptercreateTableSectionAdapter()Creates a new adapter for an object of class 'Table Section'.AdaptercreateTagAdapter()Creates a new adapter for an object of class 'Tag'.AdaptercreateTextAdapter()Creates a new adapter for an object of class 'Text'.AdaptercreateTooltipAdapter()Creates a new adapter for an object of class 'Tooltip'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
-
-
-
Field Detail
-
modelPackage
protected static BootstrapPackage modelPackage
The cached model package.
-
modelSwitch
protected BootstrapSwitch<Adapter> modelSwitch
The switch that delegates to thecreateXXXmethods.
-
-
Constructor Detail
-
BootstrapAdapterFactory
public BootstrapAdapterFactory()
Creates an instance of the adapter factory.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classAdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
public Adapter createAdapter(Notifier target)
Creates an adapter for thetarget.- Overrides:
createAdapterin classAdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target.
-
createBootstrapElementAdapter
public Adapter createBootstrapElementAdapter()
Creates a new adapter for an object of class 'Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
BootstrapElement
-
createAppearanceAdapter
public Adapter createAppearanceAdapter()
Creates a new adapter for an object of class 'Appearance'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Appearance
-
createAppearanceEntryAdapter
public Adapter createAppearanceEntryAdapter()
Creates a new adapter for an object of class 'Appearance Entry'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Map.Entry
-
createBorderAdapter
public Adapter createBorderAdapter()
Creates a new adapter for an object of class 'Border'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Border
-
createSpacingAdapter
public Adapter createSpacingAdapter()
Creates a new adapter for an object of class 'Spacing'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Spacing
-
createTextAdapter
public Adapter createTextAdapter()
Creates a new adapter for an object of class 'Text'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Text
-
createFloatAdapter
public Adapter createFloatAdapter()
Creates a new adapter for an object of class 'Float'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Float
-
createTagAdapter
public Adapter createTagAdapter()
Creates a new adapter for an object of class 'Tag'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Tag
-
createDivAdapter
public Adapter createDivAdapter()
Creates a new adapter for an object of class 'Div'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Div
-
createItemAdapter
public Adapter createItemAdapter()
Creates a new adapter for an object of class 'Item'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Item
-
createActionGroupItemAdapter
public Adapter createActionGroupItemAdapter()
Creates a new adapter for an object of class 'Action Group Item'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ActionGroupItem
-
createLinkActionGroupItemAdapter
public Adapter createLinkActionGroupItemAdapter()
Creates a new adapter for an object of class 'Link Action Group Item'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
LinkActionGroupItem
-
createContentActionGroupItemAdapter
public Adapter createContentActionGroupItemAdapter()
Creates a new adapter for an object of class 'Content Action Group Item'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ContentActionGroupItem
-
createActionGroupAdapter
public Adapter createActionGroupAdapter()
Creates a new adapter for an object of class 'Action Group'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ActionGroup
-
createContainerAdapter
public Adapter createContainerAdapter()
Creates a new adapter for an object of class 'Container'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Container
-
createRowAdapter
public Adapter createRowAdapter()
Creates a new adapter for an object of class 'Row'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Row
-
createColumnWidthAdapter
public Adapter createColumnWidthAdapter()
Creates a new adapter for an object of class 'Column Width'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ColumnWidth
-
createColumnAdapter
public Adapter createColumnAdapter()
Creates a new adapter for an object of class 'Column'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Column
-
createTableRowContainerAdapter
public Adapter createTableRowContainerAdapter()
Creates a new adapter for an object of class 'Table Row Container'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
TableRowContainer
-
createTableSectionAdapter
public Adapter createTableSectionAdapter()
Creates a new adapter for an object of class 'Table Section'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
TableSection
-
createTableHeaderAdapter
public Adapter createTableHeaderAdapter()
Creates a new adapter for an object of class 'Table Header'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
TableHeader
-
createTableConfigurationAdapter
public Adapter createTableConfigurationAdapter()
Creates a new adapter for an object of class 'Table Configuration'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
TableConfiguration
-
createTableAdapter
public Adapter createTableAdapter()
Creates a new adapter for an object of class 'Table'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Table
-
createTableRowAdapter
public Adapter createTableRowAdapter()
Creates a new adapter for an object of class 'Table Row'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
TableRow
-
createTableCellAdapter
public Adapter createTableCellAdapter()
Creates a new adapter for an object of class 'Table Cell'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
TableCell
-
createCardAdapter
public Adapter createCardAdapter()
Creates a new adapter for an object of class 'Card'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Card
-
createAlertAdapter
public Adapter createAlertAdapter()
Creates a new adapter for an object of class 'Alert'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Alert
-
createBadgeAdapter
public Adapter createBadgeAdapter()
Creates a new adapter for an object of class 'Badge'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Badge
-
createBreadcrumbAdapter
public Adapter createBreadcrumbAdapter()
Creates a new adapter for an object of class 'Breadcrumb'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Breadcrumb
-
createButtonAdapter
public Adapter createButtonAdapter()
Creates a new adapter for an object of class 'Button'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Button
-
createButtonGroupAdapter
public Adapter createButtonGroupAdapter()
Creates a new adapter for an object of class 'Button Group'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ButtonGroup
-
createButtonToolbarAdapter
public Adapter createButtonToolbarAdapter()
Creates a new adapter for an object of class 'Button Toolbar'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ButtonToolbar
-
createDropdownAdapter
public Adapter createDropdownAdapter()
Creates a new adapter for an object of class 'Dropdown'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Dropdown
-
createFormAdapter
public Adapter createFormAdapter()
Creates a new adapter for an object of class 'Form'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Form
-
createListGroupAdapter
public Adapter createListGroupAdapter()
Creates a new adapter for an object of class 'List Group'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ListGroup
-
createNavsAdapter
public Adapter createNavsAdapter()
Creates a new adapter for an object of class 'Navs'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Navs
-
createNavbarAdapter
public Adapter createNavbarAdapter()
Creates a new adapter for an object of class 'Navbar'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Navbar
-
createTooltipAdapter
public Adapter createTooltipAdapter()
Creates a new adapter for an object of class 'Tooltip'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Tooltip
-
createInputGroupAdapter
public Adapter createInputGroupAdapter()
Creates a new adapter for an object of class 'Input Group'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
InputGroup
-
createFormGroupAdapter
public Adapter createFormGroupAdapter()
Creates a new adapter for an object of class 'Form Group'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
FormGroup
-
createCollapseAdapter
public Adapter createCollapseAdapter()
Creates a new adapter for an object of class 'Collapse'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Collapse
-
createModalAdapter
public Adapter createModalAdapter()
Creates a new adapter for an object of class 'Modal'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Modal
-
createAccordionAdapter
public Adapter createAccordionAdapter()
Creates a new adapter for an object of class 'Accordion'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Accordion
-
createCarouselAdapter
public Adapter createCarouselAdapter()
Creates a new adapter for an object of class 'Carousel'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Carousel
-
createSlideAdapter
public Adapter createSlideAdapter()
Creates a new adapter for an object of class 'Slide'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Slide
-
createIMarkedAdapter
public Adapter createIMarkedAdapter()
Creates a new adapter for an object of class 'IMarked'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Marked
-
createMarkedAdapter
public Adapter createMarkedAdapter()
Creates a new adapter for an object of class 'Marked'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Marked
-
createAdaptableAdapter
public Adapter createAdaptableAdapter()
Creates a new adapter for an object of class 'Adaptable'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Adaptable
-
createModelElementAdapter
public Adapter createModelElementAdapter()
Creates a new adapter for an object of class 'Model Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ModelElement
-
createHtmlElementAdapter
public Adapter createHtmlElementAdapter()
Creates a new adapter for an object of class 'Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
HtmlElement
-
createHtml_PageAdapter
public Adapter createHtml_PageAdapter()
Creates a new adapter for an object of class 'Page'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Page
-
createPageAdapter
public Adapter createPageAdapter()
Creates a new adapter for an object of class 'Page'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Page
-
createHtml_TagAdapter
public Adapter createHtml_TagAdapter()
Creates a new adapter for an object of class 'Tag'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Tag
-
createEObjectAdapter
public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-
-