Class FormBmValue<T,TSelection extends org.eclipse.emf.ecore.EObject>

All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>, IEditableModel, IEmfAttribute<IBmObject>, IModel, IEmfValueAttribute<T,IBmObject>, IValue<T>, IValidable, IModelApiAwareModel, IFormValue<T,TSelection>
Direct Known Subclasses:
BmButtonDefaultModel, BmFormAttributeModel, BmFormButtonDataPathModel, BmFormConditionalAppearanceModel, BmFormDataPathModel, BmFormGroupListModel, BmFormTableNameModel, BmSpreadsheetDataFormModel, FormBmCommandChooserModel, FormBmTypeLinkModel

public class FormBmValue<T,TSelection extends org.eclipse.emf.ecore.EObject> extends BmValue<T> implements IFormValue<T,TSelection>
Represents a BM object feature value for form models.
See Also:
  • Constructor Details

    • FormBmValue

      public FormBmValue(Form form, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
      Creates a new value.
      Parameters:
      form - the form model.
      object - the form model object.
      feature - the feature of form model object.
  • Method Details

    • getForm

      public Form getForm()
      Gets form model.
      Specified by:
      getForm in interface IFormValue<T,TSelection extends org.eclipse.emf.ecore.EObject>
      Returns:
      the form model.
    • getSelection

      public TSelection getSelection()
      Return the selected object of form model.
      Specified by:
      getSelection in interface IFormValue<T,TSelection extends org.eclipse.emf.ecore.EObject>
      Returns:
      the selected object.