* @param parent
* @return
*/
private IFigure getFigure(Node parent) {
if (parent instanceof INodeNotifier) {
IFigureHandler handler = (IFigureHandler) ((INodeNotifier) parent)
.getAdapterFor(IFigureHandler.class);
if (handler != null) {
return handler.getFigure();
}
}
return null;
}