Interface ControlViewModel
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IControlViewModel,IViewModel,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AbstractDoubleSpinnerViewModel,AbstractLongSpinnerViewModel,AbstractSpinnerViewModel,AccountingFlagsViewModel,ActionBarViewModel,AggregatesTableViewModel,BigDecimalSpinnerViewModel,BooleanValueControlViewModel,BorderValueControlViewModel,ButtonViewModel,CharacteristicsTableViewModel,CheckableLabelViewModel,CheckboxViewModel,ChoiceParametersViewModel,ColorActionBarViewModel,ColorValueControlViewModel,ComboLabelExtensionViewModel,ComboLabelViewModel,ComboSelectViewModel,ComboViewModel,CommonAttributeContentViewModel,CommonAttributesDataViewModel,CompositeControlViewModel,CompositeViewModel,ConditionalAppearanceControlViewModel,ConfigurationStandaloneContentViewModel,DataExchangeViewModel,DataPathViewModel,DataSeparatorsViewModel,DateControlViewModel,DateValueControlViewModel,DoubleSpinnerViewModel,EditableComboViewModel,EnumValueControlViewModel,ExchangePlanContentViewModel,ExtDimensionTypesViewModel,ExtendedCommonAttributeContentViewModel,ExtendedExchangePlanContentViewModel,ExtendedPredefinedDataViewModel,FontValueControlViewModel,GanttChartScalingViewModel,GridViewModel,HttpServicesViewModel,ImageButtonViewModel,LabelExtensionViewModel,LabelViewModel,LinkViewModel,LongSpinnerViewModel,MobileApplicationUrlsViewModel,NullableSpinnerViewModel,NumberValueControlViewModel,OpenIdReturnToViewModel,PictureViewModel,PredefinedDataViewModel,PredefinedItemCodeViewModel,PredefinedValueControlViewModel,RadioGroupViewModel,RadioGroupViewModel,RequiredPermissionMessagesViewModel,RequiredPermissionsViewModel,ScrolledCompositeContentViewModel,ScrolledCompositeViewModel,SectionViewModel,SelectableLabelViewModel,SelectViewModel,SeparatorViewModel,ShortcutViewModel,SpinnerViewModel,StringValueControlViewModel,StructuredViewModel,SysEnumValueControlViewModel,TabFolderViewModel,TableViewModel,TextPreviewControlViewModel,TextViewModel,ToolBarViewModel,TreeViewModel,TreeViewModel,TypeSelectionControlViewModel,UnsupportedViewModel,ValueControlViewModel,WebServicesViewModel
- All Known Implementing Classes:
AbstractDoubleSpinnerViewModelImpl,AbstractLongSpinnerViewModelImpl,AbstractSpinnerViewModelImpl,AccountingFlagsViewModelImpl,ActionBarViewModelImpl,AggregatesTableViewModelImpl,BigDecimalSpinnerViewModelImpl,BooleanValueControlViewModelImpl,BorderValueControlViewModelImpl,ButtonViewModelImpl,CharacteristicsTableViewModelImpl,CheckableLabelViewModelImpl,CheckboxViewModelImpl,ChoiceParametersViewModelImpl,ColorActionBarViewModelImpl,ColorValueControlViewModelImpl,ComboLabelExtensionViewModelImpl,ComboLabelViewModelImpl,ComboSelectViewModelImpl,ComboViewModelImpl,CommonAttributeContentViewModelImpl,CommonAttributesDataViewModelImpl,CompositeControlViewModelImpl,CompositeViewModelImpl,ConditionalAppearanceControlViewModelImpl,ConfigurationStandaloneContentViewModelImpl,ControlViewModelImpl,DataExchangeViewModelImpl,DataPathViewModelImpl,DataSeparatorsViewModelImpl,DateControlViewModelImpl,DateValueControlViewModelImpl,DoubleSpinnerViewModelImpl,EditableComboViewModelImpl,EnumValueControlViewModelImpl,ExchangePlanContentViewModelImpl,ExtDimensionTypesViewModelImpl,ExtendedCommonAttributeContentViewModelImpl,ExtendedExchangePlanContentViewModelImpl,ExtendedPredefinedDataViewModelImpl,FontValueControlViewModelImpl,GanttChartScalingViewModelImpl,GridViewModelImpl,HttpServicesViewModelImpl,ImageButtonViewModelImpl,LabelExtensionViewModelImpl,LabelViewModelImpl,LinkViewModelImpl,LongSpinnerViewModelImpl,MobileApplicationUrlsViewModelImpl,NullableSpinnerViewModelImpl,NumberValueControlViewModelImpl,OpenIdReturnToViewModelImpl,PictureViewModelImpl,PredefinedDataViewModelImpl,PredefinedItemCodeViewModelImpl,PredefinedValueControlViewModelImpl,RadioGroupViewModelImpl,RadioGroupViewModelImpl,RequiredPermissionMessagesViewModelImpl,RequiredPermissionsViewModelImpl,ScrolledCompositeContentViewModelImpl,ScrolledCompositeViewModelImpl,SectionViewModelImpl,SelectableLabelViewModelImpl,SelectViewModelImpl,SeparatorViewModelImpl,ShortcutViewModelImpl,SpinnerViewModelImpl,StringValueControlViewModelImpl,StructuredViewModelImpl,SysEnumValueControlViewModelImpl,TabFolderViewModelImpl,TableViewModelImpl,TextPreviewControlViewModelImpl,TextViewModelImpl,ToolBarViewModelImpl,TreeViewModelImpl,TreeViewModelImpl,TypeSelectionControlViewModelImpl,UnsupportedViewModelImpl,ValueControlViewModelImpl,WebServicesViewModelImpl
public interface ControlViewModel extends IControlViewModel
A representation of the model object 'Control View Model'. Base class for control view models.The following features are supported:
- See Also:
AefStandardPackage.getControlViewModel()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueChangeApplygetApplyValueChange()Returns the value of the 'Apply Value Change' attribute.org.eclipse.emf.common.util.EList<String>getContexts()Returns the value of the 'Contexts' attribute list.ExternalValidationStatusgetExternalValidationStatus()Returns the value of the 'External Validation Status' containment reference.IAefLayoutDatagetLayoutData()Returns the value of the 'Layout Data' reference.org.eclipse.core.runtime.IStatusgetStatus()Returns the value of the 'Status' attribute.booleanisEditable()Returns the value of the 'Editable' attribute.booleanisEnabled()Returns the value of the 'Enabled' attribute.voidsetApplyValueChange(ValueChangeApply value)Sets the value of the 'Apply Value Change' attribute.voidsetEditable(boolean value)Sets the value of the 'Editable' attribute.voidsetEnabled(boolean value)Sets the value of the 'Enabled' attribute.voidsetExternalValidationStatus(ExternalValidationStatus value)Sets the value of the 'External Validation Status' containment reference.voidsetLayoutData(IAefLayoutData value)Sets the value of the 'Layout Data' reference.voidsetStatus(org.eclipse.core.runtime.IStatus value)Sets the value of the 'Status' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Returns the value of the 'Enabled' attribute. The default value is"true". Control enable state.- Returns:
- the value of the 'Enabled' attribute.
- See Also:
setEnabled(boolean),AefStandardPackage.getControlViewModel_Enabled()
-
setEnabled
void setEnabled(boolean value)
Sets the value of the 'Enabled' attribute.- Parameters:
value- the new value of the 'Enabled' attribute.- See Also:
isEnabled()
-
getStatus
org.eclipse.core.runtime.IStatus getStatus()
Returns the value of the 'Status' attribute. Status of the model state- Returns:
- the value of the 'Status' attribute.
- See Also:
setStatus(IStatus),AefStandardPackage.getControlViewModel_Status()
-
setStatus
void setStatus(org.eclipse.core.runtime.IStatus value)
Sets the value of the 'Status' attribute.- Parameters:
value- the new value of the 'Status' attribute.- See Also:
getStatus()
-
getContexts
org.eclipse.emf.common.util.EList<String> getContexts()
Returns the value of the 'Contexts' attribute list. The list contents are of typeString. Control contexts for key bindings etc.- Returns:
- the value of the 'Contexts' attribute list.
- See Also:
AefStandardPackage.getControlViewModel_Contexts()
-
getLayoutData
IAefLayoutData getLayoutData()
Returns the value of the 'Layout Data' reference. The layout data- Returns:
- the value of the 'Layout Data' reference.
- See Also:
setLayoutData(IAefLayoutData),AefStandardPackage.getControlViewModel_LayoutData()
-
setLayoutData
void setLayoutData(IAefLayoutData value)
Sets the value of the 'Layout Data' reference.- Parameters:
value- the new value of the 'Layout Data' reference.- See Also:
getLayoutData()
-
isEditable
boolean isEditable()
Returns the value of the 'Editable' attribute. The default value is"true". Control editable state.- Returns:
- the value of the 'Editable' attribute.
- See Also:
setEditable(boolean),AefStandardPackage.getControlViewModel_Editable()
-
setEditable
void setEditable(boolean value)
Sets the value of the 'Editable' attribute.- Parameters:
value- the new value of the 'Editable' attribute.- See Also:
isEditable()
-
getApplyValueChange
ValueChangeApply getApplyValueChange()
Returns the value of the 'Apply Value Change' attribute. The default value is"ON_MODIFY". The literals are from the enumerationValueChangeApply. Apply control value change variant:ApllyControlValueChange#ON_MODIFYvalue will change on every modification,ApllyControlValueChange#ON_FOCUS_LOSTonly on focus lost or 'Return' key is pressed.
- Returns:
- the value of the 'Apply Value Change' attribute.
- See Also:
ValueChangeApply,setApplyValueChange(ValueChangeApply),AefStandardPackage.getControlViewModel_ApplyValueChange()
-
setApplyValueChange
void setApplyValueChange(ValueChangeApply value)
Sets the value of the 'Apply Value Change' attribute.- Parameters:
value- the new value of the 'Apply Value Change' attribute.- See Also:
ValueChangeApply,getApplyValueChange()
-
getExternalValidationStatus
ExternalValidationStatus getExternalValidationStatus()
Returns the value of the 'External Validation Status' containment reference. The status of the external validation- Returns:
- the value of the 'External Validation Status' containment reference.
- See Also:
setExternalValidationStatus(ExternalValidationStatus),AefStandardPackage.getControlViewModel_ExternalValidationStatus()
-
setExternalValidationStatus
void setExternalValidationStatus(ExternalValidationStatus value)
Sets the value of the 'External Validation Status' containment reference.- Parameters:
value- the new value of the 'External Validation Status' containment reference.- See Also:
getExternalValidationStatus()
-
-