org.eclipse.graphiti.func
Interface IDelete

All Known Subinterfaces:
IDeleteFeature, IPattern
All Known Implementing Classes:
AbstractPattern, DefaultDeleteFeature, DeleteFeatureForPattern

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.

Since:
0.8.0

Method Summary
 boolean canDelete(IDeleteContext context)
          Can delete.
 void delete(IDeleteContext context)
          Delete.
 void postDelete(IDeleteContext context)
          Post delete.
 void preDelete(IDeleteContext context)
          Pre delete.
 

Method Detail

canDelete

boolean canDelete(IDeleteContext context)
Can delete.

Parameters:
context - the context
Returns:
true, if successful

preDelete

void preDelete(IDeleteContext context)
Pre delete.

Parameters:
context - the context

delete

void delete(IDeleteContext context)
Delete.

Parameters:
context - the context

postDelete

void postDelete(IDeleteContext context)
Post delete.

Parameters:
context - the context


Copyright (c) SAP AG 2005, 2010.