|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDelete
Instances of this interface provide the behavior to delete objects. Deleting means removing both the business object from its model as well as its graphical representation from the diagram.
Method Summary | |
---|---|
boolean |
canDelete(IDeleteContext context)
Can delete hook. |
void |
delete(IDeleteContext context)
Hook to implement the actual delete functionality. |
void |
postDelete(IDeleteContext context)
Post delete hook that can be implemented by users to perform any operations that need to be done after the standard delete functionality ends. |
void |
preDelete(IDeleteContext context)
Pre delete hook that can be implemented by users to perform any operations that need to be done before the standard delete functionality starts. |
Method Detail |
---|
boolean canDelete(IDeleteContext context)
context
- the context describing the request
true
, if the feature can perform the delete
operationvoid preDelete(IDeleteContext context)
DefaultDeleteFeature#setDoneChanges(boolean)
in case you modify
any EMF objects to enable that the command stack gets updated.
context
- the contextvoid delete(IDeleteContext context)
context
- the contextvoid postDelete(IDeleteContext context)
context
- the context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |