super(graph);
}
public void actionPerformed(AnActionEvent e, Graph2D graph) {
final Graph2DView view = getGraph2DView(graph);
view.fitContent();
}
public void update(AnActionEvent e, Graph2D graph) {
e.getPresentation().setEnabled(true);
e.getPresentation().setIcon(IconLoader.getIcon("/graph/fitContent.png"));