Examples of actionPerformed()


Examples of net.xoetrope.xui.events.XAction.actionPerformed()

        if ( command != null ) {
          XActionManager actionManager = (XActionManager)currentProject.getObject( "ActionManager" );
          if ( actionManager != null ) {
            XAction action = actionManager.getAction( null, command );
            if ( action != null )
              action.actionPerformed( evt );
          }
        }
         
        return;
      }
View Full Code Here

Examples of nextapp.echo2.app.event.ActionListener.actionPerformed()

    protected void addAction(String actionCommand) {
        EventListener[] listeners = listenerList.getListeners(ActionListener.class);
        for (int i = 0; i < listeners.length; i++) {
            ActionListener actionListener = (ActionListener) listeners[i];
            try {
                actionListener.actionPerformed(new ActionEvent(JbsDialogWindow.this, actionCommand));
            } catch (Throwable t) {
                logger.error("Error adding action.",t);
            }
        }
    }
View Full Code Here

Examples of nu.fw.jeti.plugins.RosterMenuListener.actionPerformed()

        final RosterMenuListener listener = (RosterMenuListener) entry.getValue();
        item.addActionListener(new java.awt.event.ActionListener()
        {
          public void actionPerformed(ActionEvent e)
          {
            listener.actionPerformed(jidStatus, null);
          }
        });
        menu.add(item);
      }
    }
View Full Code Here

Examples of org.apache.jmeter.gui.util.FilePanel.actionPerformed()

            }
            if (getFile() != null && getFile().length() > 0) {
                // Reload data from file
                clearData();
                FilePanel filePanel = (FilePanel) getFilePanel();
                filePanel.actionPerformed(event);
            } else {
                // Reload data form internal list of results
                synchronized (lockInterval) {
                    if (internalList.size() >= 2) {
                        List<RespTimeGraphDataBean> tempList = new ArrayList<RespTimeGraphDataBean>();
View Full Code Here

Examples of org.eobjects.datacleaner.actions.DownloadFilesActionListener.actionPerformed()

      url = url + "?username=" + username;
    }
    String filename = extensionSwapPackage.getId() + ".jar";
    DownloadFilesActionListener actionListener = new DownloadFilesActionListener(new String[] { url },
        new String[] { filename }, listener, _windowContext);
    actionListener.actionPerformed(null);
  }

  public boolean isInstalled(ExtensionSwapPackage extensionSwapPackage) {
    List<ExtensionPackage> extensionPackages = _userPreferences.getExtensionPackages();
    for (ExtensionPackage extensionPackage : extensionPackages) {
View Full Code Here

Examples of org.eobjects.datacleaner.actions.PreviewSourceDataActionListener.actionPerformed()

          if (previewTable == null) {
            throw new IllegalStateException("Result did not return any preview table: " + result);
          } else {
            final PreviewSourceDataActionListener actionListener = new PreviewSourceDataActionListener(
                windowContext, dcp, previewTable);
            actionListener.actionPerformed(null);
          }
        }
      });
      panel.add(previewButton);
    }
View Full Code Here

Examples of org.eobjects.datacleaner.actions.RunAnalysisActionListener.actionPerformed()

      public void actionPerformed(ActionEvent e) {
        applyPropertyValues();

        // TODO: Also support exploring analyzers

        runAnalysisActionListener.actionPerformed(e);
      }
    });

    _saveButton.setForeground(WidgetUtils.BG_COLOR_BRIGHTEST);
    _saveButton.setFocusPainted(false);
View Full Code Here

Examples of org.freeplane.core.ui.AFreeplaneAction.actionPerformed()

      for(HotKeyIdentifier id : actionKeyMap.keySet()) {
        if(currentStroke.equals(id.getKeyStroke())) {
          if(id.accept(e)) {
            AFreeplaneAction action = WorkspaceController.getAction(actionKeyMap.get(id));
            if(action != null) {
              action.actionPerformed(new ActionEvent(e.getSource(), 0, null));
            }
            else {
              LogUtils.info("No action set for: "+ id.getKeyStroke());
            }
          }
View Full Code Here

Examples of org.gwt.mosaic.actions.client.Action.actionPerformed()

    History.addValueChangeHandler(new ValueChangeHandler<String>() {
      public void onValueChange(ValueChangeEvent<String> event) {
        final ActionMap actionMap = getContext().getActionMap();
        final Action action = actionMap.get(event.getValue());
        if (action != null) {
          action.actionPerformed(new ActionEvent(action,
              Application.getInstance()));
        }
      }
    });
  }
View Full Code Here

Examples of org.h2.tools.Console.actionPerformed()

            c.shutdown();

            // check if starting the browser works
            c.runTool("-web", "-webPort", "9002", "-tool");
            lastUrl = "-";
            c.actionPerformed(new ActionEvent(this, 0, "console"));
            assertContains(lastUrl, ":9002");
            lastUrl = "-";
            // double-click prevention is 100 ms
            Thread.sleep(200);
            MouseEvent me = new MouseEvent(new Button(), 0, 0, 0, 0, 0, 0, false, MouseEvent.BUTTON1);
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.