diva.graphx.toolbox
Interface DeletionPolicy

All Known Implementing Classes:
ClearDeletionPolicy, DefaultDeletionPolicy

public interface DeletionPolicy

An interface that is implemented to provide a "policy" when items are deleted. The deletion policy determines, for example, whether edges connected to a deleted node should be also deleted, or simply disconnected.

Version:
$Revision: 1.1 $
Author:
John Reekie

Method Summary
 void connectedHead(GraphController controller, GraphModel model, Object edge, Object node)
          Handle an edge that is connected at the head to a node that is about to be deleted, but which is not itself in the selection.
 void connectedTail(GraphController controller, GraphModel model, Object edge, Object node)
          Handle an edge that is connected at the tail to a node that is about to be deleted, but which is not itself in the selection.
 

Method Detail

connectedHead

void connectedHead(GraphController controller,
                   GraphModel model,
                   Object edge,
                   Object node)
Handle an edge that is connected at the head to a node that is about to be deleted, but which is not itself in the selection.


connectedTail

void connectedTail(GraphController controller,
                   GraphModel model,
                   Object edge,
                   Object node)
Handle an edge that is connected at the tail to a node that is about to be deleted, but which is not itself in the selection.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.