- All Superinterfaces:
org.nasdanika.common.Adaptable,EObject,org.nasdanika.ncore.Marked,org.nasdanika.persistence.Marked,org.nasdanika.ncore.ModelElement,Notifier,Page
- All Known Implementing Classes:
PageImpl
A representation of the model object 'Page'.
HTML page with bootstrap elements in the head - meta, stylesheets, and scripts.
[Overview video](https://www.youtube.com/watch?v=Q6u6hL10xXA) in Russian.
The following features are supported:
- See Also:
-
Method Summary
Methods inherited from interface org.nasdanika.common.Adaptable
adaptToMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.nasdanika.ncore.Marked
getMarkersMethods inherited from interface org.nasdanika.ncore.ModelElement
getAnnotation, getAnnotations, getDescription, getLabelPrototype, getRepresentations, getUris, getUuid, setAnnotation, setAnnotation, setAnnotation, setAnnotation, setAnnotation, setAnnotation, setAnnotations, setDescription, setLabelPrototype, setUuidMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.nasdanika.html.model.html.Page
getBody, getBuilders, getHead, getLanguage, getName, getScripts, getStylesheets, setLanguage, setName
-
Method Details
-
isCdn
boolean isCdn()Returns the value of the 'Cdn' attribute. The default value is"true". If this attribute is true (default) then a generated page contains stylesheet and script elements pointing to Bootstrap CDN (Content Delivery Network).- Returns:
- the value of the 'Cdn' attribute.
- See Also:
-
setCdn
Sets the value of the 'Cdn' attribute.- Parameters:
value- the new value of the 'Cdn' attribute.- See Also:
-
getTheme
Returns the value of the 'Theme' attribute. 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.- Returns:
- the value of the 'Theme' attribute.
- See Also:
-
setTheme
Sets the value of the 'Theme' attribute.- Parameters:
value- the new value of the 'Theme' attribute.- See Also:
-