Class DataHistoryRule

  • All Implemented Interfaces:
    IRule

    public class DataHistoryRule
    extends AbstractRule
    The AEF 2.0 rule with data history field visibility and enablement for metadata objects.
    • Constructor Detail

      • DataHistoryRule

        public DataHistoryRule()
    • Method Detail

      • buildSingleObject

        protected void buildSingleObject​(org.eclipse.emf.ecore.EObject object,
                                         IV8Project v8project)
        Description copied from class: AbstractRule
        Builds statements for each of selected object.
        Specified by:
        buildSingleObject in class AbstractRule
        Parameters:
        object - the object.
        v8project - the V8 project for object.
      • getProject

        protected IV8Project getProject​(IDtRuleInput input,
                                        org.eclipse.emf.ecore.EObject object)
        Description copied from class: AbstractRule
        Returns v8 project by given editing object.
        Overrides:
        getProject in class AbstractRule
        Parameters:
        input - the rule input, never null
        object - the editing object, never null
        Returns:
        v8 project or null