Interface IMdTypedObjectModel

All Superinterfaces:
IMdObjectModel, IModel, IValidable
All Known Implementing Classes:
FormWizard.FormModel, MdTypedObjectModel

public interface IMdTypedObjectModel extends IMdObjectModel
Model contract for MdObject-based wizards with possibility to edit additional features. As rule it is used for BasicTemplate and BasicForm wizards.
  • Method Details

    • getExtension

      IValue<MdModelTypesExtension> getExtension()
      Returns:
      the extension value
    • getExtensions

      List<MdModelTypesExtension> getExtensions()
      Returns:
      the list of extensions
    • isApplicableForType

      boolean isApplicableForType(MdModelTypesExtension ext)
      Returns the value indicating whenever to allow select the given model type.
      Parameters:
      ext - is the MdModelTypesExtension
      Returns:
      true, if the given extension has no predicate or has predicate that is applicable.
    • getAdditionalModels

      Map<org.eclipse.emf.ecore.EStructuralFeature,IModel> getAdditionalModels()
      Returns:
      the map where the keys are EStructuralFeatures that are needed to display for the current extension and values are models for components.