org.eclipse.emf.ecp.edit.spi
Interface DeleteService

All Superinterfaces:
ViewModelService
All Known Implementing Classes:
ECPDeleteServiceImpl, EMFDeleteServiceImpl

public interface DeleteService
extends ViewModelService

The DeleteService is used by renderers in order to delete objects from the containment tree.

Since:
1.6
Author:
jfaltermeier

Method Summary
 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.
 
Methods inherited from interface org.eclipse.emf.ecp.view.spi.context.ViewModelService
dispose, getPriority, instantiate
 

Method Detail

deleteElements

void deleteElements(Collection<Object> toDelete)
Deletes the given objects from the containment tree. This will cut all references to the deleted objects.

Parameters:
toDelete - the objects to delete

deleteElement

void deleteElement(Object toDelete)
Deletes the given object from the containment tree. This will cut all references to the deleted object.

Parameters:
toDelete - the object to delete


Copyright © 2015. All Rights Reserved.