/** @see org.jgraph.pad.actions.IpssAbstractGraphAction#getMenuComponent(String) */
  protected Component getMenuComponent(String actionCommand) {
    JCheckBoxMenuItem button = new JCheckBoxMenuItem(this);
    abstractButtons.add(button);
    GPBarFactory.fillMenuButton(button, getName(), actionCommand);
    String presentationText = getPresentationText(actionCommand);
    if (presentationText != null) button.setText(presentationText);

    return button;
  }
 /** @see org.jgraph.pad.actions.IpssAbstractGraphAction#getToolComponent(String) */
 public Component getToolComponent(String actionCommand) {
   JCheckBox button = new JCheckBox(this);
   abstractButtons.add(button);
   GPBarFactory.fillToolbarButton(button, getName(), actionCommand);
   return button;
 }