Class AbstractRule

    • Constructor Detail

      • AbstractRule

        public AbstractRule()
    • Method Detail

      • buildSingleObject

        protected final void buildSingleObject​(Object object)
        Description copied from class: AbstractRule
        Builds statements for each of selected object.
        Specified by:
        buildSingleObject in class AbstractRule
        Parameters:
        object - the object, cannot be null.
      • getProject

        protected IV8Project getProject​(IDtRuleInput input,
                                        org.eclipse.emf.ecore.EObject object)
        Returns v8 project by given editing object.
        Parameters:
        input - the rule input, never null
        object - the editing object, never null
        Returns:
        v8 project or null
      • isMobileApplicationOnly

        protected boolean isMobileApplicationOnly​(IV8Project v8Project)
        The specified IV8Project is only for mobile applications
        Parameters:
        v8Project - the IV8Project for check, cannot be null
        Returns:
        true if given IV8Project is only for mobile applications, false in otherwise
      • buildSingleObject

        protected abstract void buildSingleObject​(org.eclipse.emf.ecore.EObject object,
                                                  IV8Project v8project)
        Builds statements for each of selected object.
        Parameters:
        object - the object.
        v8project - the V8 project for object.