region > newToDo (action)
343343
@MemberOrder(sequence = "40")
    public FullCalendar2WicketToDoItem newToDo(
            @ParameterLayout(named = "Description")
            @Parameter(regexPattern = "\\w[@&:\\-\\,\\.\\+ \\w]*")
            final String description) {
        final String ownedBy = currentUserName();
        return newToDo(description, ownedBy);
    }
625039
@Override
	public void actionPerformed(ActionEvent evt) {

		//System.out.println("stopping!");
		logStatus("terminating");
		logStatus(" Total alignments processed: " + alignmentsProcessed);
		stopButton.setEnabled(false);
		setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
		progressBar.setIndeterminate(true);
		progressBar.setStringPainted(false);
		System.out.println("terminating jobs");

		farmJob.terminate();

		setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
		progressBar.setIndeterminate(false);

	}
6022
@Override
  public void actionPerformed(ActionEvent e) {
    // Use a new JFileChooser. Inconsistent behaviour otherwise!
    final JFileChooser fc = new JFileChooser(new File("."));
    if(param.isDefined()) {
      fc.setSelectedFile(param.getValue());
    }

    if(e.getSource() == button) {
      int returnVal = fc.showOpenDialog(button);
      if(returnVal == JFileChooser.APPROVE_OPTION) {
        textfield.setText(fc.getSelectedFile().getPath());
        fireValueChanged();
      }
      // else: do nothing on cancel.
    }
    else if(e.getSource() == textfield) {
      fireValueChanged();
    }
    else {
      LoggingUtil.warning("actionPerformed triggered by unknown source: " + e.getSource());
    }
  }
346657
public static Callable<Object> callable(final PrivilegedAction<?> action) {
        if (action == null)
            throw new NullPointerException();
        return new Callable<Object>() {
            public Object call() { return action.run(); }};
    }
363718
public void invokeNodeAction (String nodeName, NodeAction action)
    {
        PeerNode peer = _peers.get(nodeName);
        if (peer != null) {
            if (peer.nodeobj != null) {
                peer.nodeobj.peerService.invokeAction(flattenAction(action));

            } else {
                log.warning("Dropped NodeAction", "nodeName", nodeName, "action", action);
            }

        } else if (Objects.equal(nodeName, _nodeName)) {
            invokeAction(null, flattenAction(action));
        }
    }
674582
private void aboutButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_aboutButtonActionPerformed
        // Show information about Okapi
        AboutOkapi az = new AboutOkapi();
        az.setLocationRelativeTo(this);
        az.setVisible(true);
    }
1146846
private void buttonAddLineActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonAddLineActionPerformed
    ((DefaultTableModel)this.tableExtensions.getModel()).addRow(new String[]{""});
  }
19008
public void actionPerformed(ActionEvent evt)
    {
        Component component = (Component)evt.getSource();
        String strMessage = component.getName();
        if (strMessage == null)
        {
            strMessage = evt.getActionCommand();
            Action action = ActionManager.getActionManager().getActionFromCommand(strMessage);
            if (action instanceof BaseAction)
                strMessage = ((BaseAction)action).getActionKey();
        }
        if ((strMessage != null) && (strMessage.length() > 0))
            BaseApplet.handleAction(strMessage, this, this, 0);
    }
1190208
function TextActions(editor, undoStack, find) {
		this.editor = editor;
		this.undoStack = undoStack;
		this._incrementalFind = new mFind.IncrementalFind(editor);
		this._find = find ? find : new mFindUI.FindUI(editor, undoStack);
		this._lastEditLocation = null;
		this.init();
	}
1217733
public ZealotKhala doAnything(ICustomAction action) {
        SqlInfo sqlInfo = this.source.getSqlInfo();
        action.execute(sqlInfo.getJoin(), sqlInfo.getParams());
        return this;
    }
959695
def get_action(self, parent, undo_stack: QUndoStack, sel_range, groups,
                   view: int) -> QUndoCommand:
        
        raise NotImplementedError("Abstract Method.")
916255
public void actionPerformed(ActionEvent e)
    {
        if (e.getSource() == this)
        {
            Container container = this.getParent();
            if (container instanceof JCalendarDualField)
                container = container.getParent();
            if (container instanceof JTable)
            {   // Always
                JTable jtable = (JTable)container;
                int iRow = jtable.getSelectedRow();
                Object value = jtable.getValueAt(iRow, m_iColumn);
                this.setControlValue(value);    // Make sure I have the right value
            }
            //Date dateTarget = this.getTargetDate();
            
            JCalendarPopup popup = JCalendarPopup.createCalendarPopup(this.getDateParam(), this.getTargetDate(), this, this.getLanguage());
            popup.setTransferFocus(false);
            popup.addPropertyChangeListener(this);
        }
    }
1142030
public static function GetExecuteAction ($instance, $action_list) {
		static $internal_functions;
		if (!isset($internal_functions)) {
			$internal_functions = get_defined_functions()['internal'];
		}

		$action_set = [];

		$key = null;

		$action_builder_class = ActionBuilder::class;

		//アクションそのものがコーラブルな場合、一度実行する
		if (is_object($action_list) && is_callable($action_list)) {
			$action_list = $action_list();
		}

		foreach ((array) $action_list as $key => $action) {
			//パラメータによる指示が無い場合はアクション名のメソッドを実行
			if ($action === static::MEAN_DEFAULT) {
				$action = Strings::ToLowerCamelCase($instance->action.'_action');
			}

			if (is_object($action) && $action instanceof $action_builder_class) {
				$action = $action->toArray();
			}

			$is_var = $action[4] ?? false;

			if ($is_var) {
				$result_alias = $action[2] ?? null;
				$action_set[$key] = [$action[0], null, $result_alias, null, $is_var];
				continue;
			} else {
				//アクション実行用のパラメータを設定
				$parameters = [];
				if (!is_object($action)) {
					if (is_array($action[0]) && is_callable($action[0])) {
						$parameters = $action['parameters'] ?? $action[1] ?? [];
					} else if (isset($action[1]) && is_string($action[1])) {
						$parameters = $action['parameters'] ?? $action[2] ?? [];
					}
				}

				//メソッドが現在のインスタンスに実行可能な状態で存在する場合の処理
				//例	'action'	=> 'indexAction',
				//		$this->indexAction($parameters);
				if (is_string($action) && method_exists($instance, $action)) {
					$action_set[$key] = [[$instance, $action], $parameters];
					continue;
				}

				//指定されたアクションそのものが実行可能な形式の場合の処理
				//ルールにてactionキーへ直接設定を書いた場合のみ該当する
				//例	ベタの関数の場合
				//		'action'	=> 'array_fliter',
				//		array_fliter($parameters)
				if (is_callable($action)) {
					$action_set[$key] = [$action, $parameters];
					continue;
				}
			}

			//複数アクションを指定していた場合の処理
			if (is_array($action)) {
				//結果に対して別名を付ける
				//[$result_alias => call_user_func_array($action[0], $action[1])];と同様の効果
				$result_alias = $action[2] ?? null;

				//action実行後に結果に対して実行するフィルタ
				$post_action_filter = isset($action[3]) ? (array) $action[3] : null;

				$is_var = $action[4] ?? false;
				if ($is_var) {
					$action_set[$key] = [$action[0], null, $result_alias, null, $is_var];
					continue;
				}

				if (is_string($action[0])) {
					//インスタンスメソッドを指定する場合
					$action[0] = [$instance, $action[0]];
				}

				//アクションセットの設定
				if (is_callable($action[0])) {
					$action_set[$key] = [$action[0], $action[1] ?? $parameters, $result_alias, $post_action_filter];
					continue;
				}

				//'action' => [$callback, $parameter],として設定した場合
				if (is_callable($action[0][0]) && !is_string($action[0][1])) {
					$action_set[$key] = [$action[0], $action[1] ?? $parameters, $result_alias, $post_action_filter];
					continue;
				}

				//'action' => [$instance, 'methodName'],として設定した場合、$instanceは任意のオブジェクトの指定が可能
				if (method_exists($action[0][0], $action[0][1])) {
					$action_set[$key] = [$action[0], $action[1] ?? $parameters, $result_alias, $post_action_filter];
					continue;
				}

				//'action' => ['function_name'],として設定した場合
				if ($action[0][0] === $instance && is_callable($action[0][1])) {
					$action_set[$key] = [$action[0][1], $action[1] ?? $parameters, $result_alias, $post_action_filter];
					continue;
				}
			}

			//
			throw CoreException::RaiseSystemError('未定義のメソッドを指定されました。');
		}

		if ($key === null || empty($action_set)) {
			$action_set[$key] = (method_exists($instance, Strings::ToLowerCamelCase($instance->action.'_action'))) ? [[$instance, Strings::ToLowerCamelCase($instance->action.'_action')], []] : null;
		}

		if (!empty($instance->rule->before_action)) {
			$action_set = array_merge($instance->rule->before_action, $action_set);
		}

		if (!empty($instance->rule->after_action)) {
			$action_set = array_merge($action_set, $instance->rule->after_action);
		}

		return $action_set;
	}
13936
private void btListActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btListActionPerformed
    {//GEN-HEADEREND:event_btListActionPerformed

      ListDialog dlg = new ListDialog(this, true, corpusAdministration);
      dlg.setVisible(true);

    }
739660
private void insertAction(final Action action, final FilterKey key) {
        if (filterMap.get(key) == null) {
            filterMap.put(key, action);
        } else {
            logger.info(MessageUtils.getMessage("DOTJ007I", key.toString()).toString());
        }
    }
1066687
private List<Action> actionsOf(JsonNode actionNodes) {
        List<Action> actions = new LinkedList<Action>();

        if (actionNodes.isArray()) {
            for (JsonNode action : actionNodes) {
                actions.add(new NamedAction(action.asText()));
            }
        } else {
            actions.add(new NamedAction(actionNodes.asText()));
        }
        return actions;
    }
1114218
public void actionPerformed(ActionEvent ev) {

        if (ev.getSource() instanceof TextField) {
            saveTable();

            return;
        }

        String   s = ev.getActionCommand();
        MenuItem i = new MenuItem();

        if (s == null) {
            if (ev.getSource() instanceof MenuItem) {
                i = (MenuItem) ev.getSource();
                s = i.getLabel();
            }
        }

        if (s == null) {}

        if (s.equals("Start Transfer") || s.equals("ReStart Transfer")) {
            bStart.setLabel("ReStart Transfer");
            bStart.invalidate();

            CurrentTransfer = 0;
            CurrentAlter    = 0;

            transfer();
        } else if (s.equals("Continue Transfer")) {
            transfer();
        } else if (s.equals("Start Dump") || s.equals("Start Restore")) {
            CurrentTransfer = 0;
            CurrentAlter    = 0;

            transfer();
        } else if (s.equals("Quit")) {
            exit();
        } else if (s.indexOf("Select Schema") >= 0) {
            String[] selection = lTable.getSelectedItems();

            if ((selection == null) || (selection.length == 0)) {
                return;
            }

            if (iSelectionStep == Transfer.SELECT_SOURCE_SCHEMA) {
                sSourceSchemas = selection;
            } else {
                sDestSchema = selection[0];
            }

            if (iTransferMode == TRFM_DUMP) {
                iSelectionStep = Transfer.SELECT_SOURCE_TABLES;
            } else {
                iSelectionStep++;
            }

            ProcessNextStep();
        } else if (s.indexOf("Select Catalog") >= 0) {
            String selection = lTable.getSelectedItem();

            if ((selection == null) || (selection.equals(""))) {
                return;
            }

            if (iSelectionStep == Transfer.SELECT_SOURCE_CATALOG) {
                sSourceCatalog = selection;
                sSourceSchemas = null;
            } else {
                sDestCatalog = selection;
                sDestSchema  = null;

                try {
                    targetDb.setCatalog(sDestCatalog);
                } catch (Exception ex) {
                    trace("Catalog " + sDestCatalog
                          + " could not be selected in the target database");

                    sDestCatalog = null;
                }
            }

            iSelectionStep++;

            ProcessNextStep();
        } else if (s.equals("Insert 10 rows only")) {
            iMaxRows = 10;
        } else if (s.equals("Insert 1000 rows only")) {
            iMaxRows = 1000;
        } else if (s.equals("Insert all rows")) {
            iMaxRows = 0;
        } else if (s.equals("Load Settings...")) {
            FileDialog f = new FileDialog(fMain, "Load Settings",
                                          FileDialog.LOAD);

            f.show();

            String file = f.getDirectory() + f.getFile();

            if (file != null) {
                LoadPrefs(file);
                displayTable(tCurrent);
            }
        } else if (s.equals("Save Settings...")) {
            FileDialog f = new FileDialog(fMain, "Save Settings",
                                          FileDialog.SAVE);

            f.show();

            String file = f.getDirectory() + f.getFile();

            if (file != null) {
                SavePrefs(file);
            }
        } else if (s.equals("Exit")) {
            windowClosing(null);
        }
    }