Examples of actionPerformed()


Examples of org.lilypondbeans.tools.ConvertVersion.actionPerformed()

                }

                public ChangeInfo implement() throws Exception {
                    ChangeInfo ch = new ChangeInfo();
                    ConvertVersion vers = new ConvertVersion();
                    vers.actionPerformed(null);
                    //JOptionPane.showMessageDialog(null, "Fix");
                    return ch;
                }
            };
            Vector ret = new Vector();
View Full Code Here

Examples of org.netbeans.editor.ActionFactory.ReindentLineAction.actionPerformed()

public final class ClojureReindentAction implements ActionListener {

    public void actionPerformed(ActionEvent e) {
        org.netbeans.editor.ActionFactory.ReindentLineAction a = new ReindentLineAction();
        a.actionPerformed(e);
    }
}
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraAction.actionPerformed()

    if (actionsBySequence != null)
    {
      JaspiraAction action = (JaspiraAction) actionsBySequence.get(ks);
      if (action != null && action.isEnabled())
      {
        action.actionPerformed(new ActionEvent(this, 0, null));
        return true;
      }
    }

    return false;
View Full Code Here

Examples of org.openide.util.actions.NodeAction.actionPerformed()

            return;
        }
        else {
            NodeAction nodeaction = (NodeAction)obj;
            Node node[] = tree.getExplorerManager().getSelectedNodes();
            nodeaction.actionPerformed(new ActionEvent(node, 0, ""));
           
            // Get nodes count.
            int intNodesCount = node[ 0 ].getChildren().getNodesCount();
           
            // Test if nodes count greater than zero.
View Full Code Here

Examples of org.openscience.jchempaint.action.JCPAction.actionPerformed()

            // For some reason this does not work
            // applet.button("undo").click();
            // panel.get2DHub().updateView();
            // so we crank the lever manually
            JCPAction act = new JCPAction().getAction(panel, "org.openscience.jchempaint.action.UndoAction");
            act.actionPerformed(null);
    } catch (Exception e) {
      Assert.fail();
    }
        panel.get2DHub().updateView();
        applet.panel("renderpanel").robot.waitForIdle();
View Full Code Here

Examples of org.openscience.jchempaint.action.SaveAction.actionPerformed()

                    + " " + GT.get("has unsaved data. Do you want to save it?"),
                    GT.get("Unsaved data"), JOptionPane.YES_NO_CANCEL_OPTION,
                    JOptionPane.WARNING_MESSAGE);
            if (answer == JOptionPane.YES_OPTION) {
                SaveAction saveaction = new SaveAction(this, false);
                saveaction.actionPerformed(new ActionEvent(
                        this, 12, ""));
                if(saveaction.getWasCancelled())
                    answer = JOptionPane.CANCEL_OPTION;
            }
            return answer;
View Full Code Here

Examples of org.openstreetmap.josm.actions.UpdateDataAction.actionPerformed()

     *
     * @see UpdateDataAction#actionPerformed(ActionEvent)
     */
    protected void synchronizeDataSet() {
        UpdateDataAction act = new UpdateDataAction();
        act.actionPerformed(new ActionEvent(this,0,""));
    }

    /**
     * Handles the case that a conflict in a specific {@link OsmPrimitive} was detected while
     * uploading
 
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.elements.EditContentRefAction.actionPerformed()

  public Component getElementCellEditorComponent(final ReportElementEditorContext rootBandRenderComponent,
                                                 final ReportElement value)
  {
    EditContentRefAction action = new EditContentRefAction();
    action.setReportDesignerContext(rootBandRenderComponent.getDesignerContext());
    action.actionPerformed(new ActionEvent(this, 0, null));
    return null;
  }

  /**
   * Returns the value contained in the editor.
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.elements.EditCrosstabAction.actionPerformed()

    CrosstabGroup crosstabGroup = new CrosstabGroup();

    EditCrosstabAction action = new NonEditingCrosstabAction(crosstabGroup);
    action.setReportDesignerContext(rdc);
    action.actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "Edit"));
    Assert.assertFalse(rdc.getActiveContext().getUndo().isRedoPossible());
    Assert.assertTrue(rdc.getActiveContext().getUndo().isUndoPossible());
    Assert.assertEquals(crosstabGroup.getObjectID(), report.getRootGroup().getObjectID());

    rdc.getActiveContext().getUndo().undo(rdc.getActiveContext());
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.elements.EditCrosstabAction.actionPerformed()

    CrosstabGroup crosstabGroup = new CrosstabGroup();

    EditCrosstabAction action = new NonEditingCrosstabAction(crosstabGroup);
    action.setReportDesignerContext(rdc);
    action.actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "Edit"));
    Assert.assertFalse(rdc.getActiveContext().getUndo().isRedoPossible());
    Assert.assertTrue(rdc.getActiveContext().getUndo().isUndoPossible());
    Assert.assertEquals(crosstabGroup.getObjectID(), element.getRootGroup().getObjectID());

    rdc.getActiveContext().getUndo().undo(rdc.getActiveContext());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.