001/** 002 */ 003package org.nasdanika.html.model.bootstrap; 004 005import org.nasdanika.html.bootstrap.Theme; 006 007 008/** 009 * <!-- begin-user-doc --> 010 * A representation of the model object '<em><b>Page</b></em>'. 011 * <!-- end-user-doc --> 012 * 013 * <!-- begin-model-doc --> 014 * HTML page with bootstrap elements in the head - meta, stylesheets, and scripts. 015 * 016 * [Overview video](https://www.youtube.com/watch?v=Q6u6hL10xXA) in Russian. 017 * <!-- end-model-doc --> 018 * 019 * <p> 020 * The following features are supported: 021 * </p> 022 * <ul> 023 * <li>{@link org.nasdanika.html.model.bootstrap.Page#isCdn <em>Cdn</em>}</li> 024 * <li>{@link org.nasdanika.html.model.bootstrap.Page#getTheme <em>Theme</em>}</li> 025 * </ul> 026 * 027 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getPage() 028 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='theme'" 029 * @generated 030 */ 031public interface Page extends org.nasdanika.html.model.html.Page { 032 /** 033 * Returns the value of the '<em><b>Cdn</b></em>' attribute. 034 * The default value is <code>"true"</code>. 035 * <!-- begin-user-doc --> 036 * <!-- end-user-doc --> 037 * <!-- begin-model-doc --> 038 * If this attribute is true (default) then a generated page contains stylesheet and script elements pointing to Bootstrap CDN (Content Delivery Network). 039 * <!-- end-model-doc --> 040 * @return the value of the '<em>Cdn</em>' attribute. 041 * @see #setCdn(boolean) 042 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getPage_Cdn() 043 * @model default="true" 044 * @generated 045 */ 046 boolean isCdn(); 047 048 /** 049 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Page#isCdn <em>Cdn</em>}' attribute. 050 * <!-- begin-user-doc --> 051 * <!-- end-user-doc --> 052 * @param value the new value of the '<em>Cdn</em>' attribute. 053 * @see #isCdn() 054 * @generated 055 */ 056 void setCdn(boolean value); 057 058 /** 059 * Returns the value of the '<em><b>Theme</b></em>' attribute. 060 * <!-- begin-user-doc --> 061 * <!-- end-user-doc --> 062 * <!-- begin-model-doc --> 063 * 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. 064 * <!-- end-model-doc --> 065 * @return the value of the '<em>Theme</em>' attribute. 066 * @see #setTheme(Theme) 067 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getPage_Theme() 068 * @model dataType="org.nasdanika.html.model.bootstrap.Theme" 069 * @generated 070 */ 071 Theme getTheme(); 072 073 /** 074 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Page#getTheme <em>Theme</em>}' attribute. 075 * <!-- begin-user-doc --> 076 * <!-- end-user-doc --> 077 * @param value the new value of the '<em>Theme</em>' attribute. 078 * @see #getTheme() 079 * @generated 080 */ 081 void setTheme(Theme value); 082 083} // Page