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)
        Refreshes ui component by EObject and its EStructuralFeatures If rules on refresh don't exist then do nothing. If rules on refresh exist then send id of ui component to 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