Class AbstractAdoptedObjectRule

  • All Implemented Interfaces:
    IRule
    Direct Known Subclasses:
    AdoptedMdObjectRule

    public abstract class AbstractAdoptedObjectRule
    extends AbstractRule
    The abstract rule implementation for adopted objects.
    • Constructor Detail

      • AbstractAdoptedObjectRule

        public AbstractAdoptedObjectRule()
    • Method Detail

      • disableWithCheckBox

        protected void disableWithCheckBox​(org.eclipse.emf.ecore.EStructuralFeature... features)
        Disables the adopted object feature entirely, i.e. it disables the feature control and its checkbox (label).
        Parameters:
        features - the features, cannot be null or empty.
      • componentDefinition

        protected IDefinition componentDefinition​(org.eclipse.emf.ecore.EStructuralFeature... features)
        Description copied from class: AbstractRule
        Creates IDefinition that point to component for the specified features.
        Overrides:
        componentDefinition in class AbstractRule
        Parameters:
        features - the features, cannot be null or empty.
        Returns:
        IDefinition instance, never null.