postLayout = command.getPostLayoutSelectionStrategy();
}
refreshLayout(doLayout, preLayout, postLayout);
}
} else if (graphEvent.getType() == GraphEvent.NODE_CREATION) {
Node node = (Node) graphEvent.getData();
fAddedNodes.add(node);
} else if (graphEvent.getType() == GraphEvent.POST_NODE_REMOVAL) {
Node node = (Node) graphEvent.getData();
fRemovedNodes.add(node);
} else if (graphEvent.getType() == GraphEvent.SUBGRAPH_INSERTION) {
NodeList nl = (NodeList) graphEvent.getData();
for (NodeCursor nc = nl.nodes(); nc.ok(); nc.next()) {
fAddedNodes.add(nc.node());