Class ModelEditingSupportRule

    • Constructor Detail

      • ModelEditingSupportRule

        public ModelEditingSupportRule​(IModelEditingSupport modelEditingSupport,
                                       Supplier<Iterable<IDefinition>> definitionSupplier)
        Deprecated.
        The constructor.
        Parameters:
        modelEditingSupport - the IModelEditingSupport instance, cannot be null.
        definitionSupplier - the supplier of the definitions, cannot be null.
    • Method Detail

      • isEditable

        protected boolean isEditable​(org.eclipse.emf.ecore.EObject object)
        Deprecated.
        Returns true if the given object is editable, otherwise returns false.
        Parameters:
        object - the object, cannot be null.
        Returns:
        the editable or not flag.
      • buildSingleObject

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