addLayoutButtons();
updateSimulatorProbes();
}
private void addLayoutButtons() {
zoom = new Button(new ZoomIcon(BUTTON_SIZE),
new Runnable() {
public void run() {
zoomToFit();
}
});
feedforward = new Button(new ArrowIcon(BUTTON_SIZE),
new Runnable() {
public void run() {
doFeedForwardLayout();
}
});
save = new Button(new SaveIcon(BUTTON_SIZE),
new Runnable() {
public void run() {
saveNodeLayout();
}
});
restore = new Button(new LoadIcon(BUTTON_SIZE),
new Runnable() {
public void run() {
restoreNodeLayout();
}
});