Class MdModelTypesExtension


  • public class MdModelTypesExtension
    extends Object
    Provides type information for MD classes. Types are special use cases of model classes. TODO: rename extension point.
    • Method Detail

      • getId

        public String getId()
        Returns:
        ID of this type.
      • getLabel

        public String getLabel()
        Returns:
        human readable label.
      • getEClassName

        public String getEClassName()
        Returns:
        EClass name of target object, cannot null
      • getDescription

        public String getDescription()
        Returns the wizard page description for type extension.
        Returns:
        the wizard page description or null if none
      • getInitialName

        public String getInitialName()
        Returns:
        initial model name for this type.
      • getDefaultFeature

        public String getDefaultFeature()
        Returns:
        default feature where to place the model of this type.
      • getEnablementPredicate

        public IDtNewWizardContextPredicate getEnablementPredicate()
        Enablement predicate of this type extension for specifed Dt wizart context
        Returns:
        predicate of enablement, or null not registred
      • getVisibilityPredicate

        public IDtNewWizardContextPredicate getVisibilityPredicate()
        Visibility predicate of this type extension for specifed Dt wizart context
        Returns:
        predicate of visibility, or null not registred
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object