diva.graphx.toolbox
Class DefaultDeletionPolicy
java.lang.Object
diva.graphx.toolbox.DefaultDeletionPolicy
- All Implemented Interfaces:
- DeletionPolicy
public class DefaultDeletionPolicy
- extends Object
- implements DeletionPolicy
A default implementation of a deletion policy. This policy disconnects
edges that are connected to a node that will be deleted.
- Version:
- $Revision: 1.1 $
- Author:
- John Reekie
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDeletionPolicy
public DefaultDeletionPolicy()
connectedHead
public 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.
- Specified by:
connectedHead
in interface DeletionPolicy
connectedTail
public 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.
- Specified by:
connectedTail
in interface DeletionPolicy
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.