public OptionsMenuIcon(PathwayDiagramPanel diagramPane) {
    this.diagramPane = diagramPane;
    resources = GWT.create(Resources.class);
    setResource(resources.optionsIcon());

    addClickHandler();
    addMouseOverHandler();
  }
  public void updatePosition(Integer containerWidth, Integer containerHeight) {
    AbsolutePanel container = (AbsolutePanel) getParent();

    final Integer BUFFER = 2;

    final Integer left = containerWidth - resources.optionsIcon().getWidth() - BUFFER;
    final Integer top = BUFFER;

    container.setWidgetPosition(this, left, top);
  }