Class EmfRefreshContributor.RuleBuilder

    • Constructor Detail

      • RuleBuilder

        protected RuleBuilder()
    • Method Detail

      • newRule

        public EmfRefreshContributor.RuleBuilder newRule​(org.eclipse.emf.ecore.EClass clazz)
        Creates a new rule for EClass
        Parameters:
        clazz - a EClass for which creates rule
        Returns:
        the builder
      • newRule

        public EmfRefreshContributor.RuleBuilder newRule​(org.eclipse.emf.ecore.EClass clazz,
                                                         Predicate<org.eclipse.emf.ecore.EObject> predicate)
        Creates a new rule for EClass with restrictions predicate.
        Parameters:
        clazz - the EClass for which creates rule
        predicate - the restrictions predicate.
        Returns:
        the builder
      • addFeature

        public EmfRefreshContributor.RuleBuilder addFeature​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Creates a new feature definition for sets component id
        Parameters:
        feature - a EStructuralFeature for which creates definition
        Returns:
        the builder
      • build

        public com.google.common.collect.ImmutableMap<org.eclipse.emf.ecore.EClass,​com._1c.g5.v8.dt.form.ui.editor.refresher.EmfRefreshContributor.RuleInfo> build()
        Builds all rules
        Returns:
        the map of rules