Class EmfRefreshContributor

    • Constructor Detail

      • EmfRefreshContributor

        protected EmfRefreshContributor​(IRefresher refresher)
        Creates a emf refresh contributor
        clazz - the class of TId's array
    • Method Detail

      • refresh

        public void refresh​(org.eclipse.emf.ecore.EObject item,
                            Collection<org.eclipse.emf.ecore.EStructuralFeature> features)
        Refresh ui component by EObject and its EStructuralFeatures If rules on refresh doesn't exist that do not nothing. If rules on refresh exists that send id of ui component in the refresher
        item - the emf object
        features - the features of emf object
      • createRules

        protected abstract void createRules​(EmfRefreshContributor.RuleBuilder builder)
        The method serves for setups rules through builder
        builder - the builder for creating rule