- All Superinterfaces:
org.nasdanika.common.Adaptable,EObject,org.nasdanika.ncore.Marked,org.nasdanika.persistence.Marked,org.nasdanika.ncore.ModelElement,Notifier
- All Known Subinterfaces:
ActionGroupItem,ContentActionGroupItem,LinkActionGroupItem
- All Known Implementing Classes:
ActionGroupItemImpl,ContentActionGroupItemImpl,ItemImpl,LinkActionGroupItemImpl
A representation of the model object 'Item'.
Base class for model elements which can be active, disabled, and have color.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Returns the value of the 'Color' attribute.booleanisActive()Returns the value of the 'Active' attribute.booleanReturns the value of the 'Disabled' attribute.voidsetActive(boolean value) Sets the value of the 'Active' attribute.voidSets the value of the 'Color' attribute.voidsetDisabled(boolean value) Sets the value of the 'Disabled' attribute.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, eSetDeliver
-
Method Details
-
isActive
boolean isActive()Returns the value of the 'Active' attribute. Indicates that the item is active (currently selected).- Returns:
- the value of the 'Active' attribute.
- See Also:
-
setActive
Sets the value of the 'Active' attribute.- Parameters:
value- the new value of the 'Active' attribute.- See Also:
-
isDisabled
boolean isDisabled()Returns the value of the 'Disabled' attribute. Indicates that the item is disabled and cannot be activated/selected.- Returns:
- the value of the 'Disabled' attribute.
- See Also:
-
setDisabled
Sets the value of the 'Disabled' attribute.- Parameters:
value- the new value of the 'Disabled' attribute.- See Also:
-
getColor
Returns the value of the 'Color' attribute. Item Bootstrap color.- Returns:
- the value of the 'Color' attribute.
- See Also:
-
setColor
Sets the value of the 'Color' attribute.- Parameters:
value- the new value of the 'Color' attribute.- See Also:
-