com.tensegrity.graph.rule.handler
Interface VisualSubgraphRemoveHandler


public interface VisualSubgraphRemoveHandler

This class is a functional handler that is optionally invoked by the API as a callback when a node is removed from a VisualSubgraph. VisualSubgraph instances often like to customize their behavior when a node is removed from them.

Version:
$Id: VisualSubgraphRemoveHandler.java,v 1.7 2005/05/02 18:24:47 MichaelKegel Exp $
Author:
StepanRutz

Method Summary
 void subgraphRemove(VisualSubgraphRemoveInfo info)
          Callback that is invoked when a subgraph remove occurs.
 

Method Detail

subgraphRemove

public void subgraphRemove(VisualSubgraphRemoveInfo info)
                    throws GraphException
Callback that is invoked when a subgraph remove occurs.

Parameters:
info - instance of VisualSubgraphRemoveInfo parameter holder class.
Throws:
GraphException - thrown by the callback to indicate that the API should rollback the operation if possible. This behavior cannot be guaranteed unfortunately.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.