Package com._1c.g5.v8.dt.intenral.cai
Class CaiModelEditingSupportProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.intenral.cai.CaiModelEditingSupportProvider
-
- All Implemented Interfaces:
IModelEditingSupportProvider
public class CaiModelEditingSupportProvider extends Object implements IModelEditingSupportProvider
SpecificIModelEditingSupportProvider
for the CAI subsystem.
-
-
Constructor Summary
Constructors Constructor Description CaiModelEditingSupportProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canDelete(org.eclipse.emf.ecore.EObject eObject, EditingMode mode)
Checks thateObject
is deletableboolean
canEdit(org.eclipse.emf.ecore.EObject eObject, EditingMode mode)
Checks thateObject
is editable
-
-
-
Method Detail
-
canDelete
public boolean canDelete(org.eclipse.emf.ecore.EObject eObject, EditingMode mode)
Description copied from interface:IModelEditingSupportProvider
Checks thateObject
is deletable- Specified by:
canDelete
in interfaceIModelEditingSupportProvider
- Parameters:
eObject
- checkingEObject
, can't benull
mode
- the editing mode, can't benull
- 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 thateObject
is editable- Specified by:
canEdit
in interfaceIModelEditingSupportProvider
- Parameters:
eObject
- checkingEObject
, can't benull
mode
- the editing mode, can't benull
- Returns:
true
if checking object can be editted,false
otherwise
-
-