public class EMFDeleteServiceImpl extends Object implements DeleteService
DeleteService
. Uses DeleteCommand
respectively.Constructor and Description |
---|
EMFDeleteServiceImpl() |
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.
|
void |
dispose()
Dispose.
|
int |
getPriority()
Returns the priority for this view service.
|
void |
instantiate(ViewModelContext context)
Instantiate the view service.
|
public void instantiate(ViewModelContext context)
instantiate
in interface ViewModelService
context
- the ViewModelContext
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public void dispose()
dispose
in interface ViewModelService
ViewModelService.dispose()
public int getPriority()
getPriority
in interface ViewModelService
ViewModelService.getPriority()
public void deleteElements(Collection<Object> toDelete)
deleteElements
in interface DeleteService
toDelete
- the objects to deleteDeleteService.deleteElements(java.util.Collection)
public void deleteElement(Object toDelete)
deleteElement
in interface DeleteService
toDelete
- the object to deleteDeleteService.deleteElement(java.lang.Object)
Copyright © 2017. All rights reserved.