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 |
---|---|
void |
deleteElement(Object toDelete)
Deletes the given object from the containment tree.
|
void |
deleteElements(Collection<Object> toDelete)
Deletes the given objects from the containment tree.
|
dispose, getPriority, instantiate
void deleteElements(Collection<Object> toDelete)
toDelete
- the objects to deletevoid deleteElement(Object toDelete)
toDelete
- the object to deleteCopyright © 2019. All rights reserved.