Iterator<?> viewModes = fGraphPanel.getView().getViewModes();
while (viewModes.hasNext()) {
ViewMode viewMode = (ViewMode) viewModes.next();
if (viewMode instanceof EditMode) {
EditMode editMode = (EditMode) viewMode;
editMode.setChild(new AreaZoomMode(), null, null);
}
}
}