Class CaiModelEditingSupportProvider

    • Constructor Detail

      • CaiModelEditingSupportProvider

        public CaiModelEditingSupportProvider()
    • Method Detail

      • canDelete

        public boolean canDelete​(org.eclipse.emf.ecore.EObject eObject,
                                 EditingMode mode)
        Description copied from interface: IModelEditingSupportProvider
        Checks that eObject is deletable
        Specified by:
        canDelete in interface IModelEditingSupportProvider
        Parameters:
        eObject - checking EObject, can't be null
        mode - the editing mode, can't be null
        Returns:
        true if checking object can be deleted, false otherwise
      • canEdit

        public boolean canEdit​(org.eclipse.emf.ecore.EObject eObject,
                               EditingMode mode)
        Description copied from interface: IModelEditingSupportProvider
        Checks that eObject is editable
        Specified by:
        canEdit in interface IModelEditingSupportProvider
        Parameters:
        eObject - checking EObject, can't be null
        mode - the editing mode, can't be null
        Returns:
        true if checking object can be editted, false otherwise