org.eclipse.graphiti.features
Interface IRemoveFeature

All Superinterfaces:
IDescription, IFeature, IFeatureProviderHolder, IName
All Known Implementing Classes:
DefaultRemoveFeature

public interface IRemoveFeature
extends IFeature

This feature is for removing pictogram elements from a diagram. Remove features must not modify any business content.


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.
 
Methods inherited from interface org.eclipse.graphiti.features.IFeature
canExecute, canUndo, execute, hasDoneChanges, isAvailable
 
Methods inherited from interface org.eclipse.graphiti.IName
getName
 
Methods inherited from interface org.eclipse.graphiti.IDescription
getDescription
 
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
 

Method Detail

remove

void remove(IRemoveContext context)
Remove the given object.

Parameters:
context - contains object to remove

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

postRemove

void postRemove(IRemoveContext context)
called after remove call.

Parameters:
context - the context


Copyright (c) SAP AG 2005, 2010.