org.eclipse.graphiti.func
Interface IRemove

All Known Subinterfaces:
IPattern, IRemoveFeature
All Known Implementing Classes:
AbstractPattern, DefaultRemoveFeature, IdPattern, RemoveFeatureForPattern, TypedPattern

public interface IRemove

Instances of this interface provide the behavior to remove objects. Removing means removing the graphical representation of a business object from the diagram while keeping the business object itself as it is.

Since:
0.8.0

Method Summary
 boolean canRemove(IRemoveContext context)
          Checks if given object could be removed.
 void postRemove(IRemoveContext context)
          called after remove call.
 void preRemove(IRemoveContext context)
          called prior to remove call.
 void remove(IRemoveContext context)
          Remove the given object.
 

Method Detail

canRemove

boolean canRemove(IRemoveContext context)
Checks if given object could be removed.

Parameters:
context - contains object to remove
Returns:
true if remove is possible

preRemove

void preRemove(IRemoveContext context)
called prior to remove call.

Parameters:
context - the context

remove

void remove(IRemoveContext context)
Remove the given object.

Parameters:
context - contains object to remove

postRemove

void postRemove(IRemoveContext context)
called after remove call.

Parameters:
context - the context


Copyright (c) SAP AG 2005, 2012.