Class EditingLibraryDistributionSupportProvider

java.lang.Object
com.e1c.g5.v8.dt.internal.library.distribution.EditingLibraryDistributionSupportProvider
All Implemented Interfaces:
IModelEditingSupportProvider

public class EditingLibraryDistributionSupportProvider extends Object implements IModelEditingSupportProvider
Default implementation of IModelEditingSupportProvider for Distribution Support of 1C:Enterprise configurations.
  • Constructor Details

    • EditingLibraryDistributionSupportProvider

      public EditingLibraryDistributionSupportProvider()
  • Method Details

    • 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