public interface DeleteService extends ViewModelService
The DeleteService is used by renderers in order to delete objects from the containment tree.
Note that since the 1.23 release, it is recommended to implement the
ConditionalDeleteService interface to support conditional deletion, honouring the model's
edit providers when they veto deletion by providing unexecutable commands.
|Modifier and Type||Method and Description|
Deletes the given object from the containment tree.
Deletes the given objects from the containment tree.
void deleteElements(Collection<Object> toDelete)
toDelete- the objects to delete
void deleteElement(Object toDelete)
toDelete- the object to delete
Copyright © 2020. All rights reserved.