001/** 002 */ 003package org.nasdanika.html.model.bootstrap; 004 005import org.nasdanika.html.bootstrap.Color; 006import org.nasdanika.ncore.ModelElement; 007 008/** 009 * <!-- begin-user-doc --> 010 * A representation of the model object '<em><b>Item</b></em>'. 011 * <!-- end-user-doc --> 012 * 013 * <!-- begin-model-doc --> 014 * Base class for model elements which can be active, disabled, and have color. 015 * <!-- end-model-doc --> 016 * 017 * <p> 018 * The following features are supported: 019 * </p> 020 * <ul> 021 * <li>{@link org.nasdanika.html.model.bootstrap.Item#isActive <em>Active</em>}</li> 022 * <li>{@link org.nasdanika.html.model.bootstrap.Item#isDisabled <em>Disabled</em>}</li> 023 * <li>{@link org.nasdanika.html.model.bootstrap.Item#getColor <em>Color</em>}</li> 024 * </ul> 025 * 026 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem() 027 * @model abstract="true" 028 * annotation="http://www.eclipse.org/emf/2002/Ecore constraints='color activeAndDisabled'" 029 * @generated 030 */ 031public interface Item extends ModelElement { 032 /** 033 * Returns the value of the '<em><b>Active</b></em>' attribute. 034 * <!-- begin-user-doc --> 035 * <!-- end-user-doc --> 036 * <!-- begin-model-doc --> 037 * Indicates that the item is active (currently selected). 038 * <!-- end-model-doc --> 039 * @return the value of the '<em>Active</em>' attribute. 040 * @see #setActive(boolean) 041 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem_Active() 042 * @model 043 * @generated 044 */ 045 boolean isActive(); 046 047 /** 048 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Item#isActive <em>Active</em>}' attribute. 049 * <!-- begin-user-doc --> 050 * <!-- end-user-doc --> 051 * @param value the new value of the '<em>Active</em>' attribute. 052 * @see #isActive() 053 * @generated 054 */ 055 void setActive(boolean value); 056 057 /** 058 * Returns the value of the '<em><b>Disabled</b></em>' attribute. 059 * <!-- begin-user-doc --> 060 * <!-- end-user-doc --> 061 * <!-- begin-model-doc --> 062 * Indicates that the item is disabled and cannot be activated/selected. 063 * <!-- end-model-doc --> 064 * @return the value of the '<em>Disabled</em>' attribute. 065 * @see #setDisabled(boolean) 066 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem_Disabled() 067 * @model 068 * @generated 069 */ 070 boolean isDisabled(); 071 072 /** 073 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Item#isDisabled <em>Disabled</em>}' attribute. 074 * <!-- begin-user-doc --> 075 * <!-- end-user-doc --> 076 * @param value the new value of the '<em>Disabled</em>' attribute. 077 * @see #isDisabled() 078 * @generated 079 */ 080 void setDisabled(boolean value); 081 082 /** 083 * Returns the value of the '<em><b>Color</b></em>' attribute. 084 * <!-- begin-user-doc --> 085 * <!-- end-user-doc --> 086 * <!-- begin-model-doc --> 087 * Item Bootstrap color. 088 * <!-- end-model-doc --> 089 * @return the value of the '<em>Color</em>' attribute. 090 * @see #setColor(Color) 091 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem_Color() 092 * @model dataType="org.nasdanika.html.model.bootstrap.Color" 093 * @generated 094 */ 095 Color getColor(); 096 097 /** 098 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Item#getColor <em>Color</em>}' attribute. 099 * <!-- begin-user-doc --> 100 * <!-- end-user-doc --> 101 * @param value the new value of the '<em>Color</em>' attribute. 102 * @see #getColor() 103 * @generated 104 */ 105 void setColor(Color value); 106 107} // Item